Fix (unreported) Copy/Paste: orig object being instantiated in active collection on pasting.
When copy/pasting an object in same .blend file, orig object would be instantiated into the active collection when pasting, along with the content of the paste. Was missing a clear of LIB_TAG_DOIT on objects... Found while investigating T61670.
This commit is contained in:
@@ -11106,7 +11106,8 @@ static Main *library_link_begin(Main *mainvar, FileData **fd, const char *filepa
|
||||
|
||||
(*fd)->mainlist = MEM_callocN(sizeof(ListBase), "FileData.mainlist");
|
||||
|
||||
/* clear for collection instantiating tag */
|
||||
/* clear for objects and collections instantiating tag */
|
||||
BKE_main_id_tag_listbase(&(mainvar->objects), LIB_TAG_DOIT, false);
|
||||
BKE_main_id_tag_listbase(&(mainvar->collections), LIB_TAG_DOIT, false);
|
||||
|
||||
/* make mains */
|
||||
|
Reference in New Issue
Block a user