Skip to content

Commit fd9b9ae

Browse files
committed
+ option to enable the orbiting pivot display
1 parent b7dbe09 commit fd9b9ae

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Source/SpaceMouse/Private/SmEditorManager.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ void FSmEditorManager::Start()
4545
void FSmEditorManager::ManageOrbitingOverlay()
4646
{
4747

48-
if(OnMovementStartedFrame && ActiveViewportClient)
48+
if(OnMovementStartedFrame
49+
&& ActiveViewportClient
50+
&& FSpaceMouseModule::Settings->DisplayOrbittingPivot)
4951
{
5052
OrbitingOverlay = MakeShared<FSmViewportOverlay>(ActiveViewportClient);
5153
}

Source/SpaceMouse/Public/SpaceMouseConfig.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,9 @@ class USpaceMouseConfig : public UObject
6868
UPROPERTY(EditAnywhere, Config, Category = "Behavior")
6969
bool OrbittingRotatesObject = false;
7070

71+
UPROPERTY(EditAnywhere, Config, Category = "Behavior")
72+
bool DisplayOrbittingPivot = true;
73+
7174
UPROPERTY(EditAnywhere, Config, Category = "Behavior")
7275
float MovementSecondsTolerance = 0.25;
7376

0 commit comments

Comments
 (0)