diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-12-04 14:34:26 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-12-04 14:34:26 +0300 |
commit | cfa83dbb9b13ed74dc10be8fac802ac6abf720a4 (patch) | |
tree | 980e606a676da45d67b0881d32d9a4aba0972534 /source/blender/src/editipo.c | |
parent | 6d3a5625fd3b505a59a9952a64d080e6c8d8bd0a (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.c | 2 |
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); |