浏览代码

Update lightGizmo.ts

sebavan 4 年之前
父节点
当前提交
9424f725b8
共有 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;
     }
-}
+}