瀏覽代碼

Fix tiny cc

David `Deltakosh` Catuhe 5 年之前
父節點
當前提交
98a693abf2
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/Gizmos/planeDragGizmo.ts

+ 0 - 3
src/Gizmos/planeDragGizmo.ts

@@ -47,9 +47,6 @@ export class PlaneDragGizmo extends Gizmo {
         var dragPlane = PlaneBuilder.CreatePlane("dragPlane", { width: .1375, height: .1375, sideOrientation: 2 }, scene);
         dragPlane.material = material;
         dragPlane.parent = plane;
-
-        // Position plane pointing normal to dragPlane normal
-        dragPlane.material = material;
         return plane;
     }