TransformControls: Set axis before triggering mouseDownEvent
@@ -856,10 +856,10 @@
event.preventDefault();
event.stopPropagation();
- scope.dispatchEvent( mouseDownEvent );
-
scope.axis = intersect.object.name;
+ scope.dispatchEvent( mouseDownEvent );
+
scope.update();
eye.copy( camPosition ).sub( worldPosition ).normalize();