| 2170 | //----------------------------------------------------------------------------- |
| 2171 | |
| 2172 | bool SimObject::isSelectedRecursive() const |
| 2173 | { |
| 2174 | const SimObject *walk = this; |
| 2175 | while ( walk ) |
| 2176 | { |
| 2177 | if ( walk->isSelected() ) |
| 2178 | return true; |
| 2179 | walk = walk->getGroup(); |
| 2180 | } |
| 2181 | |
| 2182 | return false; |
| 2183 | } |
| 2184 | |
| 2185 | //----------------------------------------------------------------------------- |
| 2186 |
no test coverage detected