diff --git a/Assets/Scripts/SketchControlsScript.cs b/Assets/Scripts/SketchControlsScript.cs index 437ae472a..bed0e78cd 100644 --- a/Assets/Scripts/SketchControlsScript.cs +++ b/Assets/Scripts/SketchControlsScript.cs @@ -5107,9 +5107,8 @@ public bool IsCommandAvailable(GlobalCommands rEnum, int iParam = -1) return m_WidgetManager.AnyActivePathHasAKnot(); case GlobalCommands.GoogleDriveSync: return App.GoogleIdentity.LoggedIn; - case GlobalCommands.RecordCameraPath: return m_WidgetManager.CameraPathsVisible; - case GlobalCommands.EnableTexturePainting: return LastGrabWidget != null && TexturePainterManager.m_Instance.CanBeMadePaintable(LastGrabWidget); - + case GlobalCommands.EnableTexturePainting: + return LastGrabWidget != null && TexturePainterManager.m_Instance.CanBeMadePaintable(LastGrabWidget); case GlobalCommands.RecordCameraPath: return m_WidgetManager.CameraPathsVisible; case GlobalCommands.AdvancedPanelsToggle: