Browse Source

Merge pull request #9686 from jasonsturges/lightgizmo-update

Light Gizmo expression statement is not assignment or call
sebavan 4 years ago
parent
commit
2d4e3ad97b
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/Gizmos/lightGizmo.ts

+ 1 - 2
src/Gizmos/lightGizmo.ts

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