Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UPBGE: Fix NULL returned by GetMeshMaterial.
GetMeshMaterial was based on blender material index in a previous commit. but this function is used in loop of NumMaterial() iterations. To solve this the GetMeshMaterial was reset as original and only GetMaterialId (now renamed GetBlenderMaterialId) is still based on blender material index.
- Loading branch information
1 parent
7b8e9cc
commit 6fe25a0
Showing
3 changed files
with
11 additions
and
10 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
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