-
-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Enable occluder for invisible objects. (#808)
Previously objects were considered as occluder if the occluder option was checked and that the object was visible. The last constraint is bothering for the user that could define a simplified mesh for occlusion that naturally will not be visible. This commit is introducing the condition "visible || occluder" for the call activating the graphic controller in KX_GameObject::SetVisible/ SetOccluder and the initialization of the graphic controller. Fix issue #807.
- Loading branch information
1 parent
af46b84
commit fa68fed
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters