- Timestamp:
- Nov 24, 2008, 1:50:47 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/objecthierarchy2/src/orxonox/objects/worldentities/Light.cc
r2171 r2254 163 163 void Light::changedType() 164 164 { 165 this->light_->setType(this->type_); 165 if (this->light_) 166 this->light_->setType(this->type_); 166 167 } 167 168 … … 170 171 SUPER(Light, changedVisibility); 171 172 172 this->light_->setVisible(this->isVisible()); 173 if (this->light_) 174 this->light_->setVisible(this->isVisible()); 173 175 } 174 176 }
Note: See TracChangeset
for help on using the changeset viewer.