Fix T48822: Crash when I try to use "Join" (Ctrl Key + J) with two meshes.
Own stupid typo in recent refactor work...
This commit is contained in:
parent
8df92988cf
commit
47c47c7e78
Notes:
blender-bot
2023-02-14 07:45:41 +01:00
Referenced by issue #48826, Crash while rendering in viewport (Cycles) Referenced by issue #48829, Memory leak on Blender Exit (possibly related to mixing BI and Cycles nodes and material data ) Referenced by issue #48822, Crash when I try to use "Join" (Ctrl Key + J) with two meshes Referenced by issue #48824, Cycles: Crash with glass+volume(?)
|
@ -672,7 +672,7 @@ void test_all_objects_materials(Main *bmain, ID *id)
|
|||
}
|
||||
|
||||
BKE_main_lock(bmain);
|
||||
for (bmain = bmain->object.first; ob; ob = ob->id.next) {
|
||||
for (ob = bmain->object.first; ob; ob = ob->id.next) {
|
||||
if (ob->data == id) {
|
||||
BKE_material_resize_object(ob, *totcol, false);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue