Skip to content

Commit 89a4f80

Browse files
authored
Merge pull request #14170 from arodic/transform-controls
TransformControls v2
2 parents 8c24c6f + 4c9edde commit 89a4f80

File tree

5 files changed

+1019
-717
lines changed

5 files changed

+1019
-717
lines changed

editor/js/Viewport.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ var Viewport = function ( editor ) {
269269
var controls = new THREE.EditorControls( camera, container.dom );
270270
controls.addEventListener( 'change', function () {
271271

272-
transformControls.update();
273272
signals.cameraChanged.dispatch( camera );
274273

275274
} );
@@ -391,7 +390,6 @@ var Viewport = function ( editor ) {
391390
if ( editor.selected === object ) {
392391

393392
selectionBox.setFromObject( object );
394-
transformControls.update();
395393

396394
}
397395

0 commit comments

Comments
 (0)