Browse Source

Light Gizmo expression statement is not assignment or call

Jason Sturges 4 years ago
parent
commit
2b54fd87d8
1 changed files with 1 additions and 1 deletions
  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;