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:
authorCampbell Barton <ideasman42@gmail.com>2008-04-19 00:55:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-04-19 00:55:29 +0400
commit55620ca5d178c3d0816295a172f59caf42725ee8 (patch)
tree5ea7639eedd9a832b5b84d80fa568bdd0371f7c7 /source/blender/src/editipo.c
parent981d380fc4704d56522dce0a8c2642b86a6458e0 (diff)
ipo transform didnt take NLA scaling into account when getting the boundbox
Diffstat (limited to 'source/blender/src/editipo.c')
-rw-r--r--source/blender/src/editipo.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/src/editipo.c b/source/blender/src/editipo.c
index a6fe0676fd8..75ef085d1df 100644
--- a/source/blender/src/editipo.c
+++ b/source/blender/src/editipo.c
@@ -5060,7 +5060,10 @@ static void bezt_to_transdata (TransData *td, TransData2D *td2d, float *loc, flo
/*td->flag = 0;*/ /* can be set beforehand, else make sure its set to 0 */
td->loc = td2d->loc;
- VECCOPY(td->center, cent);
+ td->center[0] = get_action_frame_inv(OBACT, cent[0]);
+ td->center[1] = cent[1];
+ td->center[2] = 0.0f;
+
VECCOPY(td->iloc, td->loc);
}
else {