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>2009-01-10 17:19:14 +0300
committerTon Roosendaal <ton@blender.org>2009-01-10 17:19:14 +0300
commitdd97c080062bfa01883f6d6e9f2f6c0b8a0ba8c1 (patch)
tree6ffe875d47aafc0a8d7dea9c45e94ee25f35589a /source/blender/editors/animation/anim_deps.c
parenta7932f745243e5cb0192ec6bbef58dcea34faf0f (diff)
2.5
- Weightpaint back (CTRL+TAB or menu) Also weightpaint is sortof non-modal, allowing to use all existing hotkeys while in paint mode. Only leftmouse is overridden. - Made vpaint and wpaint entirely local, stored in scene (and saved!) - Small bugfix (also in 2.48): on weightpaint mode, all armature objects in 3d window were drawing as active poses. Now only the armature deformer is. Nice point for the UI agenda: are paint modes on ACTION mouse? Only then you can combine it with SELECT mouse...
Diffstat (limited to 'source/blender/editors/animation/anim_deps.c')
-rw-r--r--source/blender/editors/animation/anim_deps.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/editors/animation/anim_deps.c b/source/blender/editors/animation/anim_deps.c
index eaf4ef7ae12..07816228dad 100644
--- a/source/blender/editors/animation/anim_deps.c
+++ b/source/blender/editors/animation/anim_deps.c
@@ -89,6 +89,15 @@ void ED_anim_dag_flush_update(const bContext *C)
DAG_scene_flush_update(scene, screen_view3d_layers(screen), 0);
}
+/* flushes changes from object to all relations in scene */
+void ED_anim_object_flush_update(const bContext *C, Object *ob)
+{
+ Scene *scene= CTX_data_scene(C);
+ bScreen *screen= CTX_wm_screen(C);
+
+ DAG_object_update_flags(scene, ob, screen_view3d_layers(screen));
+}
+
/* results in fully updated anim system */
/* in future sound should be on WM level, only 1 sound can play! */