Fix #111165: Regression: Blender Crashes On Scene Switch
Fix missing depsgraph tag in the "Link Objects to Scene" operator. Pull Request: https://projects.blender.org/blender/blender/pulls/111214
This commit is contained in:
committed by
Sergey Sharybin
parent
53396816e4
commit
33718b2d75
@@ -1405,6 +1405,8 @@ static int make_links_scene_exec(bContext *C, wmOperator *op)
|
||||
}
|
||||
CTX_DATA_END;
|
||||
|
||||
DEG_id_tag_update(&collection_to->id, ID_RECALC_HIERARCHY);
|
||||
|
||||
DEG_relations_tag_update(bmain);
|
||||
|
||||
/* redraw the 3D view because the object center points are colored differently */
|
||||
|
||||
Reference in New Issue
Block a user