Blender Git Loki
Git Commits -> Revision 7ff123c
Revision 7ff123c by Mitchell Stokes (master) March 27, 2014, 20:51 (GMT) |
Fix T39452: Meshes without materials causes a memory leak in the game engine These types of meshes do not use material caching, and thus only the first created material would be saved, but subsequent ones were not. Those subsequent materials were then not being freed. Now we make sure to track all of the materials. Note: Meshes that cannot make use of material caching (no materials or using face textures) can still use up a large amount of RAM since a material is created per face. |
Commit Details:
Full Hash: 7ff123ce5c08953a31f5728922be9d56c4ed850c
Parent Commit: 8482322
Lines Changed: +6, -5
1 Modified Path:
/source/gameengine/Converter/BL_BlenderDataConversion.cpp (+6, -5) (Diff)