| 105 | } |
| 106 | |
| 107 | bool VPath::onAdd( void ) |
| 108 | { |
| 109 | if ( !Parent::onAdd() ) |
| 110 | { |
| 111 | return false; |
| 112 | } |
| 113 | |
| 114 | // Add to Scene. |
| 115 | addToScene(); |
| 116 | |
| 117 | if ( isServerObject() ) |
| 118 | { |
| 119 | // Read Fields. |
| 120 | readFields(); |
| 121 | |
| 122 | // Add to Set. |
| 123 | getServerSet()->addObject( this ); |
| 124 | } |
| 125 | |
| 126 | return true; |
| 127 | } |
| 128 | |
| 129 | void VPath::onDeleteNotify( SimObject *pObject ) |
| 130 | { |