| 238 | //------------------------------------------------------------------------------ |
| 239 | |
| 240 | bool GuiObjectView::onWake() |
| 241 | { |
| 242 | if( !Parent::onWake() ) |
| 243 | return false; |
| 244 | |
| 245 | if( !mLight ) |
| 246 | { |
| 247 | mLight = LIGHTMGR->createLightInfo(); |
| 248 | |
| 249 | mLight->setColor( mLightColor ); |
| 250 | mLight->setAmbient( mLightAmbient ); |
| 251 | mLight->setDirection( mLightDirection ); |
| 252 | } |
| 253 | |
| 254 | return true; |
| 255 | } |
| 256 | |
| 257 | //------------------------------------------------------------------------------ |
| 258 |
nothing calls this directly
no test coverage detected