David `Deltakosh` Catuhe il y a 5 ans
Parent
commit
98a693abf2
1 fichiers modifiés avec 0 ajouts et 3 suppressions
  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;
     }