Browse Source

Fix tiny cc

David `Deltakosh` Catuhe 5 years ago
parent
commit
98a693abf2
1 changed files with 0 additions and 3 deletions
  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;
     }