diff --git a/src/modules/graphic/osggraph/Viewer/OsgHUD.cpp b/src/modules/graphic/osggraph/Viewer/OsgHUD.cpp index 8f1732fbe..36ba4ad04 100644 --- a/src/modules/graphic/osggraph/Viewer/OsgHUD.cpp +++ b/src/modules/graphic/osggraph/Viewer/OsgHUD.cpp @@ -2499,8 +2499,10 @@ void SDHUD::ToggleHUDeditmode() //we are going back to normal game mode //restore normal widgets visibility (visible if enabled or invisible if disabled) setWidgetsGroupsVisibilityNormal(); - //display the mouse pointer + //hide the mouse pointer hudWidgets["mouseWidget"]->setNodeMask(0); + //hide the edithud widget + hudWidgets["edithudWidget"]->setNodeMask(0); } }