Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-09-24 03:44:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-24 03:44:10 +0400
commit2a0649d61d46a0105f8483049f4722d66cef45ae (patch)
tree97dc971724a76d8c2e0b812e8ee633efbb8208c9 /source/blender/editors/object/object_relations.c
parentfdf55bcf66e8999499cd4bddf4c8a6fef15f28a1 (diff)
fix [#32635] no viewport update when link and object to a scene
also comment unused static RNA functions.
Diffstat (limited to 'source/blender/editors/object/object_relations.c')
-rw-r--r--source/blender/editors/object/object_relations.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c
index cafc7ce9300..950ef5826f1 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -1275,6 +1275,9 @@ static int make_links_scene_exec(bContext *C, wmOperator *op)
DAG_ids_flush_update(bmain, 0);
+ /* redraw the 3D view because the object center points are colored differently */
+ WM_event_add_notifier(C, NC_OBJECT | ND_DRAW, NULL);
+
/* one day multiple scenes will be visible, then we should have some update function for them */
return OPERATOR_FINISHED;
}