diff --git a/Editor/ViewportController.cs b/Editor/ViewportController.cs index bc0c24b..4cf0e0b 100644 --- a/Editor/ViewportController.cs +++ b/Editor/ViewportController.cs @@ -132,6 +132,8 @@ static void Fly(SceneView sceneView) static void Fly(SceneView sceneView, Vector3 translationInversion, Vector3 rotationInversion) { + if (sceneView.in2DMode) return; + SyncRigWithScene(); // Apply inversion of axes for fly/grabmove mode. @@ -433,4 +435,4 @@ private static Vector3 SnapOnTranslation(Vector3 v, float snap) #endregion - Snapping - } } -#endif \ No newline at end of file +#endif