This website requires JavaScript.
Explore
Help
Sign In
Scarfski
/
assimp
Watch
1
Star
0
Fork
0
You've already forked assimp
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
c47dc2802e01faa61332d5bb6a5eed19086ca05c
assimp
/
code
/
RemoveRedundantMaterials.cpp
Jonne Nauha
eea8099b05
RemoveRedundantMaterials: Fix crash bug when unreferenced materials were destroyed. The logic only rebuilt the material list if there were redundant materials being removed. This is a clear bug as it left freed aiMaterial ptrs into the list and did not fix the scene->numMaterials to be correct, even when deleting materials. This crashed later on in the ComputeUVMappingsProcess that accessed the freed ptr.
2014-05-09 01:33:30 +03:00
7.9 KiB
Raw
Blame
History
View Raw
Reference in New Issue
View Git Blame
Copy Permalink