Kaynağa Gözat

Light Gizmo expression statement is not assignment or call

Jason Sturges 4 yıl önce
ebeveyn
işleme
2b54fd87d8
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/Gizmos/lightGizmo.ts

+ 1 - 1
src/Gizmos/lightGizmo.ts

@@ -253,7 +253,7 @@ export class LightGizmo extends Gizmo {
 
         var lines = this._CreateLightLines(3, scene);
         lines.parent = root;
-        lines.position.z - 0.15;
+        lines.position.z = 0.15;
 
         root.scaling.scaleInPlace(LightGizmo._Scale);
         root.rotation.x = Math.PI / 2;