| 350 | //----------------------------------------------------------------------------- |
| 351 | |
| 352 | void SceneObject::addToScene() |
| 353 | { |
| 354 | if( mSceneManager ) |
| 355 | return; |
| 356 | |
| 357 | if( isClientObject() ) |
| 358 | gClientSceneGraph->addObjectToScene( this ); |
| 359 | else |
| 360 | gServerSceneGraph->addObjectToScene( this ); |
| 361 | } |
| 362 | |
| 363 | //----------------------------------------------------------------------------- |
| 364 |
nothing calls this directly
no test coverage detected