Disable spline node snapping when using viewport movement
This commit is contained in:
@@ -322,7 +322,7 @@ namespace FlaxEditor.SceneGraph.Actors
|
||||
var mouse = Input.Mouse;
|
||||
var keyboard = Input.Keyboard;
|
||||
|
||||
if (keyboard.GetKey(KeyboardKeys.Shift))
|
||||
if (keyboard.GetKey(KeyboardKeys.Shift) && !mouse.GetButton(MouseButton.Right))
|
||||
EditSplineWithSnap(selectedPoint);
|
||||
|
||||
var canAddSplinePoint = mouse.PositionDelta == Float2.Zero && mouse.Position != Float2.Zero;
|
||||
|
||||
Reference in New Issue
Block a user