fix mesh rotation compensation
This commit is contained in:
parent
7b51b893d0
commit
d54b7590c4
2 changed files with 8 additions and 7 deletions
|
|
@ -1370,6 +1370,7 @@ CAM.init = function(kiri, api) {
|
|||
api.event.on('tool.mesh.face-normal', normal => {
|
||||
poppedRec.degrees = (Math.atan2(normal.y, normal.z) * (180 / Math.PI)).round(2);
|
||||
poppedRec.absolute = true;
|
||||
func.opRender();
|
||||
});
|
||||
|
||||
createPopOp('index', {
|
||||
|
|
|
|||
Loading…
Reference in a new issue