edit-hud: always hide edithud widget when exiting edit mode

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8828 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: c80df87c265c2e7807297175dfb08b15b01b0393
Former-commit-id: b862c9969b7cd5fc1f12e949507b33e0b7611cea
This commit is contained in:
madbad 2023-03-19 12:47:49 +00:00
parent 4015881198
commit df2b653b95

View file

@ -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);
}
}