Blender Git Commit Log

Git Commits -> Revision c94db5d

Revision c94db5d by Clément Foucault (master)
March 5, 2019, 17:58 (GMT)
Fix T61778: Crash when adding material slot to object

For some reason the mat_nr can be superior to the number of material slots
present on an object. Just cap this number to the max available slot.

Commit Details:

Full Hash: c94db5d1c7ec1c84d35556d96b774100a62bf24b
Parent Commit: d1a7441
Lines Changed: +3, -3

1 Modified Path:

/source/blender/draw/intern/draw_cache_impl_mesh.c (+3, -3) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021