| 120 | } |
| 121 | |
| 122 | ModelObject ShadingControl_Impl::clone(Model model) const { |
| 123 | auto scClone = ResourceObject_Impl::clone(model).cast<ShadingControl>(); |
| 124 | |
| 125 | if (model != this->model()) { |
| 126 | scClone.removeAllSubSurfaces(); |
| 127 | } |
| 128 | |
| 129 | return std::move(scClone); |
| 130 | } |
| 131 | |
| 132 | std::string ShadingControl_Impl::shadingType() const { |
| 133 | boost::optional<std::string> result = getString(OS_ShadingControlFields::ShadingType, true); |
nothing calls this directly
no test coverage detected