Showing the changes to libraries/render-utils/src/Model.cpp (1 of 15 files). Show all
Unified · Split
| @@ -875,6 +875,9 @@ namespace render { · 874 unmodified lines | ||
| 875 | 875 | return payload->model->renderPart(args, payload->meshIndex, payload->partIndex, false); |
| 876 | 876 | } |
| 877 | 877 | } |
| 878 | + /* template <> const model::MaterialKey& shapeGetMaterialKey(const OpaqueMeshPart::Pointer& payload) { | |
| 879 | + return payload->model->getPartMaterial(payload->meshIndex, payload->partIndex); | |
| 880 | + }*/ | |
| 878 | 881 | } |
| 879 | 882 | |
| 880 | 883 | void Model::setVisibleInScene(bool newValue, std::shared_ptr<render::Scene> scene) { |