File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change 480480 } // Apply rotation snap
481481
482482
483- if ( this . rotationSnap ) this . rotationAngle = Math . round ( this . rotationAngle / this . rotationSnap ) * this . rotationSnap ;
484- this . rotationAngle = this . rotationAngle ; // Apply rotate
483+ if ( this . rotationSnap ) this . rotationAngle = Math . round ( this . rotationAngle / this . rotationSnap ) * this . rotationSnap ; // Apply rotate
485484
486485 if ( space === 'local' && axis !== 'E' && axis !== 'XYZE' ) {
487486
Original file line number Diff line number Diff line change @@ -512,8 +512,6 @@ class TransformControls extends Object3D {
512512
513513 if ( this . rotationSnap ) this . rotationAngle = Math . round ( this . rotationAngle / this . rotationSnap ) * this . rotationSnap ;
514514
515- this . rotationAngle = this . rotationAngle ;
516-
517515 // Apply rotate
518516 if ( space === 'local' && axis !== 'E' && axis !== 'XYZE' ) {
519517
You can’t perform that action at this time.
0 commit comments