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:
authorTon Roosendaal <ton@blender.org>2006-07-08 15:08:35 +0400
committerTon Roosendaal <ton@blender.org>2006-07-08 15:08:35 +0400
commit9587430c10c0fb2120cd0a6257e245e83edf06e9 (patch)
treedddbd556830c9eb6be56858d072f72c8f4c25d70 /source/blender/src/headerbuttons.c
parent9a49186db1c567bf9387d1f163843e9981197c75 (diff)
Bug fix #4640
Renaming Meta Object to become the 'mother meta' should invoke a call to reconstruct the dependency graph.
Diffstat (limited to 'source/blender/src/headerbuttons.c')
-rw-r--r--source/blender/src/headerbuttons.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/src/headerbuttons.c b/source/blender/src/headerbuttons.c
index 2f11a624bca..3440b5b0c18 100644
--- a/source/blender/src/headerbuttons.c
+++ b/source/blender/src/headerbuttons.c
@@ -1442,9 +1442,10 @@ void do_global_buttons(unsigned short event)
* can require it to be updated because its
* basis might have changed... -zr
*/
- if (ob && ob->type==OB_MBALL)
+ if (ob && ob->type==OB_MBALL) {
+ DAG_scene_sort(G.scene);
DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
-
+ }
/* redraw because name has changed: new pup */
scrarea_queue_headredraw(curarea);
allqueue(REDRAWINFO, 1);