Kaynağa Gözat

Merge pull request #14761 from mixtur/patch-1

TransformControls: fix duplicate material
Mr.doob 7 yıl önce
ebeveyn
işleme
9863cd6ee0
1 değiştirilmiş dosya ile 0 ekleme ve 3 silme
  1. 0 3
      examples/js/controls/TransformControls.js

+ 0 - 3
examples/js/controls/TransformControls.js

@@ -688,9 +688,6 @@ THREE.TransformControlsGizmo = function () {
 	var matLineMagenta = gizmoLineMaterial.clone();
 	matLineMagenta.color.set( 0xff00ff );
 
-	var matLineBlue = gizmoLineMaterial.clone();
-	matLineBlue.color.set( 0x0000ff );
-
 	var matLineYellow = gizmoLineMaterial.clone();
 	matLineYellow.color.set( 0xffff00 );