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-11-11 19:45:17 +0300
committerTon Roosendaal <ton@blender.org>2006-11-11 19:45:17 +0300
commitfeb210f08ebd5d6283624996883719b00fa590eb (patch)
treef08814d79d54c87810a320a0f6f101ba5e1a1175 /source/blender/src/poseobject.c
parent97f892b86b9b31e8165c27c698da7996dfd2d0a2 (diff)
Experimental feature, especially for the animation department:
THE OBJECT PROXY Or simple said; local control of referenced data from libraries. Having library files with references is a very common studio setup, and Blender did do quite well in that area. Were it not that for character setups it was impossible to use still. This commit will enable a full rig+character to remain in the library, and still have - under strict control - local access for animation edits. Full log: http://www.blender3d.org/cms/Proxy_Objects.824.0.html
Diffstat (limited to 'source/blender/src/poseobject.c')
-rw-r--r--source/blender/src/poseobject.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/src/poseobject.c b/source/blender/src/poseobject.c
index cce2e3705a3..f1d7761fa6c 100644
--- a/source/blender/src/poseobject.c
+++ b/source/blender/src/poseobject.c
@@ -323,7 +323,7 @@ void pose_special_editmenu(void)
if(!ob && !ob->pose) return;
if(ob==G.obedit || (ob->flag & OB_POSEMODE)==0) return;
- nr= pupmenu("Specials%t|Select Constraint Target%x1|Flip Left-Right Names%x2|Calculate Paths%x3|Clear All Paths%x4");
+ nr= pupmenu("Specials%t|Select Constraint Target%x1|Flip Left-Right Names%x2|Calculate Paths%x3|Clear All Paths%x4|Clear Pose %x5");
if(nr==1) {
pose_select_constraint_target();
}
@@ -336,6 +336,11 @@ void pose_special_editmenu(void)
else if(nr==4) {
pose_clear_paths(ob);
}
+ else if(nr==5) {
+ rest_pose(ob->pose);
+ DAG_object_flush_update(G.scene, ob, OB_RECALC_DATA);
+ BIF_undo_push("Clear Pose");
+ }
}
void pose_add_IK(void)