Fix T69644 / T68586: objects flag unsynced when drag hidden collections
That would lead to crashes and other issues. The solution is not elegant though, it involves resyncing all the collections again. Differential Revision: https://developer.blender.org/D6043
This commit is contained in:
parent
9100982e80
commit
af5cc8cbd4
@ -1305,6 +1305,9 @@ bool BKE_collection_move(Main *bmain,
|
||||
|
||||
BLI_ghash_free(view_layer_hash, NULL, NULL);
|
||||
|
||||
/* We need to sync it again to pass the correct flags to the collections objects. */
|
||||
BKE_main_collection_sync(bmain);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user