Skip to content

Commit 30b71c7

Browse files
authored
TransformControls: fix duplicate material
Same material was defined twice in the same scope.
1 parent 1fe4e34 commit 30b71c7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/js/controls/TransformControls.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -688,9 +688,6 @@ THREE.TransformControlsGizmo = function () {
688688
var matLineMagenta = gizmoLineMaterial.clone();
689689
matLineMagenta.color.set( 0xff00ff );
690690

691-
var matLineBlue = gizmoLineMaterial.clone();
692-
matLineBlue.color.set( 0x0000ff );
693-
694691
var matLineYellow = gizmoLineMaterial.clone();
695692
matLineYellow.color.set( 0xffff00 );
696693

0 commit comments

Comments
 (0)