| 289 | } |
| 290 | |
| 291 | void WorldEditor::markAsSelected( SimObject* object, bool state ) |
| 292 | { |
| 293 | object->setSelected( state ); |
| 294 | |
| 295 | if( dynamic_cast< SceneObject* >( object ) ) |
| 296 | { |
| 297 | SceneObject* clientObj = WorldEditor::getClientObj( static_cast< SceneObject* >( object ) ); |
| 298 | if( clientObj ) |
| 299 | clientObj->setSelected( state ); |
| 300 | } |
| 301 | } |
| 302 | |
| 303 | void WorldEditor::setClientObjInfo(SceneObject * obj, const MatrixF & mat, const VectorF & scale) |
| 304 | { |
nothing calls this directly
no test coverage detected