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:
authorJoshua Leung <aligorith@gmail.com>2007-12-04 14:34:26 +0300
committerJoshua Leung <aligorith@gmail.com>2007-12-04 14:34:26 +0300
commitcfa83dbb9b13ed74dc10be8fac802ac6abf720a4 (patch)
tree980e606a676da45d67b0881d32d9a4aba0972534 /source/blender/src/transform_conversions.c
parent6d3a5625fd3b505a59a9952a64d080e6c8d8bd0a (diff)
== Bone Paths - Auto-Recalc Improvements ==
Added a new function which specially caters for auto-recalculation of paths after updates (such as keyframing). Currently, all that differs between this and pose_calculate_path, is that it only recalculates for bones with paths. Also, it only updates what it needs to (minimum frame range affected). Warning: WIP commit (hopefully it compiles ok)
Diffstat (limited to 'source/blender/src/transform_conversions.c')
-rw-r--r--source/blender/src/transform_conversions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/transform_conversions.c b/source/blender/src/transform_conversions.c
index f96e58bdbf7..085095c7fc1 100644
--- a/source/blender/src/transform_conversions.c
+++ b/source/blender/src/transform_conversions.c
@@ -3075,7 +3075,7 @@ void autokeyframe_pose_cb_func(Object *ob, int tmode, short targetless_ik)
/* do the bone paths */
if (arm->pathflag & ARM_PATH_ACFRA) {
//pose_clear_paths(ob);
- pose_calculate_path(ob);
+ pose_recalculate_paths(ob);
}
}