Showing the changes to libraries/render-utils/src/Model.cpp (1 of 4 files). Show all
Unified · Split
| @@ -713,15 +713,13 @@ void Model::setVisibleInScene(bool isVisible, const render::ScenePointer& scene, · 712 unmodified lines | |||
| 713 | } | 713 | } |
| 714 | } | 714 | } |
| 715 | 715 | ||
| 716 | void Model::setCanCastShadow(bool canCastShadow, const render::ScenePointer& scene) { | 716 | void Model::setCanCastShadow(bool canCastShadow, const render::ScenePointer& scene, uint8_t viewTagBits, bool isGroupCulled) { |
| 717 | if (_canCastShadow != canCastShadow) { | 717 | if (_canCastShadow != canCastShadow) { |
| 718 | _canCastShadow = canCastShadow; | 718 | _canCastShadow = canCastShadow; |
| 719 | 719 | ||
| 720 | bool isVisible = _isVisible; | 720 | bool isVisible = _isVisible; |
| 721 | bool viewTagBits = _viewTagBits; | ||
| 722 | bool isLayeredInFront = _isLayeredInFront; | 721 | bool isLayeredInFront = _isLayeredInFront; |
| 723 | bool isLayeredInHUD = _isLayeredInHUD; | 722 | bool isLayeredInHUD = _isLayeredInHUD; |
| 724 | bool isGroupCulled = _isGroupCulled; | ||
| 725 | 723 | ||
| 726 | render::Transaction transaction; | 724 | render::Transaction transaction; |
| 727 | foreach (auto item, _modelMeshRenderItemsMap.keys()) { | 725 | foreach (auto item, _modelMeshRenderItemsMap.keys()) { |