소스 검색

Merge pull request #9686 from jasonsturges/lightgizmo-update

Light Gizmo expression statement is not assignment or call
sebavan 4 년 전
부모
커밋
2d4e3ad97b
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  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;
     }
-}
+}