unsticky render pop. update 3js matrix4 inversion
This commit is contained in:
parent
9b4017b8c1
commit
2ba3637eed
2 changed files with 2 additions and 2 deletions
|
|
@ -2157,7 +2157,7 @@
|
|||
UC.hoverPop(UI.ltfile, { group: hpops, target: $('file-pop') });
|
||||
UC.hoverPop(UI.ltview, { group: hpops, target: $('pop-view') });
|
||||
UC.hoverPop(UI.ltact, { group: hpops, target: $('pop-slice') });
|
||||
UC.hoverPop(UI.render, { group: hpops, target: $('pop-render'), sticky: true });
|
||||
UC.hoverPop(UI.render, { group: hpops, target: $('pop-render'), sticky: false });
|
||||
UC.hoverPop(UI.rotate, { group: hpops, target: $('pop-rotate'), sticky: true });
|
||||
UC.hoverPop(UI.scale, { group: hpops, target: $('pop-scale'), sticky: true });
|
||||
UC.hoverPop(UI.nozzle, { group: hpops, target: $('pop-nozzle'), sticky: true });
|
||||
|
|
|
|||
|
|
@ -531,7 +531,7 @@
|
|||
|
||||
PRO.unrotate = function() {
|
||||
this.roto.reverse().forEach(m => {
|
||||
this.mesh.geometry.applyMatrix4(new THREE.Matrix4().getInverse(m));
|
||||
this.mesh.geometry.applyMatrix4(m.clone().invert());
|
||||
});
|
||||
this.roto = [];
|
||||
this.center();
|
||||
|
|
|
|||
Loading…
Reference in a new issue