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>2011-07-12 07:02:53 +0400
committerJoshua Leung <aligorith@gmail.com>2011-07-12 07:02:53 +0400
commit2fd3ae7539475fcd2546ba0d5a27687f4e683ccf (patch)
treecad4cae673771e3c07c4d51ffaa1dfb38af8f320 /source/blender/blenkernel/intern/anim.c
parentde69b6819d9542663e649b577c4e5670bd1aa21e (diff)
Bugfix #27881: Motion paths don't correctly update with pose sliding
tools
Diffstat (limited to 'source/blender/blenkernel/intern/anim.c')
-rw-r--r--source/blender/blenkernel/intern/anim.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/anim.c b/source/blender/blenkernel/intern/anim.c
index 8aa816f9cb5..3300c82cae2 100644
--- a/source/blender/blenkernel/intern/anim.c
+++ b/source/blender/blenkernel/intern/anim.c
@@ -173,7 +173,7 @@ bMotionPath *animviz_verify_motionpaths(Scene *scene, Object *ob, bPoseChannel *
}
/* avoid 0 size allocs */
- if(avs->path_sf >= avs->path_ef) {
+ if (avs->path_sf >= avs->path_ef) {
return NULL;
}
@@ -231,6 +231,7 @@ typedef struct MPathTarget {
/* get list of motion paths to be baked for the given object
* - assumes the given list is ready to be used
*/
+// TODO: it would be nice in future to be able to update objects dependant on these bones too?
void animviz_get_object_motionpaths(Object *ob, ListBase *targets)
{
MPathTarget *mpt;