| 632 | } |
| 633 | |
| 634 | bool SubSurface_Impl::addShadingControl(ShadingControl& shadingControl) { |
| 635 | bool result = false; |
| 636 | if (allowShadingControl()) { |
| 637 | auto thisSubSurface = getObject<SubSurface>(); |
| 638 | result = shadingControl.addSubSurface(thisSubSurface); |
| 639 | } |
| 640 | return result; |
| 641 | } |
| 642 | |
| 643 | bool SubSurface_Impl::addShadingControls(std::vector<ShadingControl>& shadingControls) { |
| 644 | bool ok = true; |