OSGHUD: fix wheel image not being hidden on driverinputWidget toggler
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7797 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: ceee367514c8f87fae99e042577b7cef7f0ac190 Former-commit-id: 961a7b24838c1ea9b80e19374d3f2ca56912575d
This commit is contained in:
parent
1601a7ae77
commit
3fcb72d7c8
1 changed files with 1 additions and 1 deletions
|
@ -1307,7 +1307,7 @@ void SDHUD::ToggleHUDcarinfo()
|
|||
void SDHUD::ToggleHUDdriverinput()
|
||||
{
|
||||
this->hudWidgets["driverinputWidget"]->setNodeMask(1 - this->hudWidgets["driverinputWidget"]->getNodeMask());
|
||||
this->hudImgRotableElements["driverinput-wheel"]->setNodeMask(1 - this->hudImgRotableElements["driverinput-wheel"]->getNodeMask());
|
||||
this->hudImgRotableElements["driverinput-wheel"]->setNodeMask(this->hudWidgets["driverinputWidget"]->getNodeMask());
|
||||
|
||||
//save the current status in the config file
|
||||
std::string configFileUrl= GetLocalDir();
|
||||
|
|
Loading…
Reference in a new issue