Prevent crash when copying object
ob->collection_settings is to be handled by depsgraph, but we may as well make sure things do not crash meanwhile
This commit is contained in:
parent
aff8ce438a
commit
edba025c92
|
@ -1176,6 +1176,7 @@ Object *BKE_object_copy_ex(Main *bmain, Object *ob, bool copy_caches)
|
|||
|
||||
BLI_listbase_clear(&obn->gpulamp);
|
||||
BLI_listbase_clear(&obn->pc_ids);
|
||||
BLI_listbase_clear(&obn->collection_settings);
|
||||
|
||||
obn->mpath = NULL;
|
||||
|
||||
|
|
Loading…
Reference in New Issue