Blender Git Commit Log

Git Commits -> Revision 92a3995

Revision 92a3995 by Sybren A. Stüvel (master)
July 31, 2019, 15:18 (GMT)
Fix T67999: calling obj.data.materials.clear() crashes Blender

The `BKE_material_clear_id()` didn't call `test_all_objects_materials()`,
which caused the object and mesh material slot count to go out of sync.

Commit Details:

Full Hash: 92a3995c6d4487e5bc0735b35fbef5c34b29421a
Parent Commit: 3566b81
Lines Changed: +1, -0

1 Modified Path:

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