Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 26, 2008, 7:00:59 PM (16 years ago)
Author:
rgrieder
Message:

some adjustment to the default value setting in the overlay files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/objects/Model.cc

    r1559 r1627  
    5959    /**
    6060        @brief XML loading and saving.
    61     @p
    62     aram xmlelement The XML-element
     61        @param xmlelement The XML-element
    6362        @param loading Loading (true) or saving (false)
    6463        @return The XML-element
     
    10099    {
    101100        WorldEntity::changedVisibility();
    102         this->mesh_.setVisible(this->isVisible());
     101        if (this->isInitialized())
     102            this->mesh_.setVisible(this->isVisible());
    103103    }
    104104}
Note: See TracChangeset for help on using the changeset viewer.