Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 5, 2016, 9:13:31 AM (10 years ago)
Author:
landauf
Message:

fixed visibility of weapon hud:

  • propagate changedVisibility to all child overlays (necessary if the containing overlaygroup changes its visibility)
  • initialize the visibility of child overlays (necessary if the visibility of the weaponsystem is 'false' in the hud definition)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS15/src/modules/overlays/hud/HUDWeaponMode.cc

    r11026 r11044  
    218218        this->textOverlayLeft_->setVisible(visible);
    219219        this->textOverlayRight_->setVisible(visible);
    220 
    221         if (visible)
    222         {
    223             overlayElementIcon_->show();
    224             overlayElementReplenish_->show();
    225             overlayElementMunition_->show();
    226             overlayElementState_->show();
    227         }
    228220    }
    229221
Note: See TracChangeset for help on using the changeset viewer.