Bladeren bron

Fix scaling not showing dragpoint

Transform property of dragpoint did not include scaling
habeebweeb 4 jaren geleden
bovenliggende
commit
328bfce0d1
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/DragPoint/DragPoint.cs

+ 1 - 1
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/DragPoint/DragPoint.cs

@@ -13,7 +13,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
         private Collider collider;
         private Renderer renderer;
         private bool reinitializeDrag;
-        protected bool Transforming => CurrentDragType >= DragType.MoveXZ && CurrentDragType <= DragType.RotLocalY;
+        protected bool Transforming => CurrentDragType >= DragType.MoveXZ;
         protected bool Moving => CurrentDragType == DragType.MoveXZ || CurrentDragType == DragType.MoveY;
         protected bool Rotating => CurrentDragType >= DragType.RotLocalXZ && CurrentDragType <= DragType.RotLocalY;
         protected bool Special => CurrentDragType == DragType.Select || CurrentDragType == DragType.Delete;