| 272 | } |
| 273 | |
| 274 | bool ShadowCalculation_Impl::removeShadingZoneGroup(unsigned groupIndex) { |
| 275 | if (auto _mo_list = getShadingZoneGroupModelObjectList(groupIndex)) { |
| 276 | _mo_list->removeAllModelObjects(); |
| 277 | _mo_list->remove(); |
| 278 | // ModelObjectList will remove any object it has, so have to clear it first |
| 279 | eraseExtensibleGroup(groupIndex); |
| 280 | return true; |
| 281 | } |
| 282 | |
| 283 | return false; |
| 284 | } |
| 285 | |
| 286 | void ShadowCalculation_Impl::removeAllShadingZoneGroups() { |
| 287 |