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:
authorSebastian Parborg <darkdefende@gmail.com>2019-05-07 18:34:28 +0300
committerSebastian Parborg <darkdefende@gmail.com>2019-05-07 18:37:05 +0300
commit50889ba6efbc304e5c6b516a0d102c3bdd7a79f9 (patch)
tree121890c117cc9105b0190d6405ff69e9be91eba6 /source/blender/editors/armature/armature_ops.c
parentf08ee1fc40c09e7ffc028a097dda5d80436ce478 (diff)
Implement Push/Relax from rest pose.
Perviously it was only possible to interpolate from the breakdown poses. Now you can Push/Relax in regard to the rest pose as well. For this only one keyframe is needed while the old modes needs two.
Diffstat (limited to 'source/blender/editors/armature/armature_ops.c')
-rw-r--r--source/blender/editors/armature/armature_ops.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/armature/armature_ops.c b/source/blender/editors/armature/armature_ops.c
index b53ae813f10..a29d0f5f158 100644
--- a/source/blender/editors/armature/armature_ops.c
+++ b/source/blender/editors/armature/armature_ops.c
@@ -146,6 +146,8 @@ void ED_operatortypes_armature(void)
/* POSE SLIDING */
WM_operatortype_append(POSE_OT_push);
WM_operatortype_append(POSE_OT_relax);
+ WM_operatortype_append(POSE_OT_push_rest);
+ WM_operatortype_append(POSE_OT_relax_rest);
WM_operatortype_append(POSE_OT_breakdown);
}