David `Deltakosh` Catuhe %!s(int64=5) %!d(string=hai) anos
pai
achega
98a693abf2
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  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);
         var dragPlane = PlaneBuilder.CreatePlane("dragPlane", { width: .1375, height: .1375, sideOrientation: 2 }, scene);
         dragPlane.material = material;
         dragPlane.material = material;
         dragPlane.parent = plane;
         dragPlane.parent = plane;
-
-        // Position plane pointing normal to dragPlane normal
-        dragPlane.material = material;
         return plane;
         return plane;
     }
     }