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/editipo.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/editipo.c')
-rw-r--r--source/blender/src/editipo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c
index 5698657767e..54aea493e88 100644
--- a/source/blender/src/editipo.c
+++ b/source/blender/src/editipo.c
@@ -3275,7 +3275,7 @@ void common_insertkey(void)
/* recalculate bone-paths on adding new keyframe? */
// TODO: currently, there is no setting to turn this on/off globally
if (recalc_bonepaths)
- pose_calculate_path(ob);
+ pose_recalculate_paths(ob);
allqueue(REDRAWIPO, 0);