diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-08-12 14:58:48 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-08-12 14:58:48 +0300 |
commit | 82268fa1009dadb526dd6dc2ebc81763aedb2c18 (patch) | |
tree | e71913114628cc4cef7051d10dcc7065d5017cf9 /source/blender/editors/object/object_relations.c | |
parent | bac1279b031f9b3996c4691e948d941e4dcfaea1 (diff) |
Depsgraph: Tag relations for update when making datablocks single user
This is mainly required for the new dependency graph where non-object
datablocks are a part of dependency graph.
This solves issue when making mesh shared by multiple objects a single
user one.
Diffstat (limited to 'source/blender/editors/object/object_relations.c')
-rw-r--r-- | source/blender/editors/object/object_relations.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c index d5c7632765f..067a5ad2b49 100644 --- a/source/blender/editors/object/object_relations.c +++ b/source/blender/editors/object/object_relations.c @@ -2106,6 +2106,7 @@ void ED_object_single_users(Main *bmain, Scene *scene, const bool full, const bo } BKE_main_id_clear_newpoins(bmain); + DAG_relations_tag_update(bmain); } /******************************* Make Local ***********************************/ |