Fix #128704: Make liboverride keeps linked object in 'main' Scene collection.

Scene itself (and therefore its main collection) was not remapped from
linked objects to the newly created liboverrid ones.
This commit is contained in:
Bastien Montagne
2024-10-16 17:28:52 +02:00
parent 665d7378c0
commit a153809829

View File

@@ -2448,6 +2448,9 @@ static int make_override_library_exec(bContext *C, wmOperator *op)
}
}
}
/* Also tag the Scene itself for remapping when creating overrides (includes the scene's master
* collection too). */
scene->id.tag |= ID_TAG_DOIT;
}
ID *id_root_override;