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
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-10-03 13:11:51 +0400
committerTon Roosendaal <ton@blender.org>2005-10-03 13:11:51 +0400
commitfd7ef55a69fdd23d86b00cd288b934bb1c926fa0 (patch)
tree2977c9a7962cd48285855853d23426ea463309b7 /source
parent1af3055832a8a4b353a5fc7552b95cbd50f74cc8 (diff)
Bugfix #3138
Editbuttons "Centre" options didn't correctly use depgraph for linked data.
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/editobject.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c
index cd7279b7878..78405942ae6 100644
--- a/source/blender/src/editobject.c
+++ b/source/blender/src/editobject.c
@@ -1820,14 +1820,13 @@ void docentre(int centremode)
allqueue(REDRAWBUTSEDIT, 0);
}
- base->object->recalc |= OB_RECALC_OB|OB_RECALC_DATA;
+ DAG_object_flush_update(G.scene, base->object, OB_RECALC_OB|OB_RECALC_DATA);
}
}
base= base->next;
}
allqueue(REDRAWVIEW3D, 0);
- DAG_scene_flush_update(G.scene, screen_view3d_layers());
BIF_undo_push("Do Centre");
}