diff options
author | Ton Roosendaal <ton@blender.org> | 2006-10-12 13:32:47 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-10-12 13:32:47 +0400 |
commit | 86e192ea40ececcade256e528c557d9018751cb8 (patch) | |
tree | 9ca907587ec969422221575d0ddd86dbde4be9c8 /source/blender/src/editview.c | |
parent | 1be92c8b19cf63890bae3e409a4ede563bae7200 (diff) |
Bugfix #4843
Third fix for this bug! In august I've added the function
Mat3ToCompatibleEul(), which ensures a proper euler value being derived
from a matrix, while inserting Ipo keys after a transform().
That also had to be done for camera fly mode.
Diffstat (limited to 'source/blender/src/editview.c')
-rw-r--r-- | source/blender/src/editview.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/editview.c b/source/blender/src/editview.c index 0a19c86a070..6364831893e 100644 --- a/source/blender/src/editview.c +++ b/source/blender/src/editview.c @@ -2323,7 +2323,9 @@ void fly(void) } } else if (persp_backup==2) { /* camera */ - compatible_eul(G.vd->camera->rot, rot_backup); + float mat3[3][3]; + Mat3CpyMat4(mat3, G.vd->camera->obmat); + Mat3ToCompatibleEul(mat3, G.vd->camera->rot, rot_backup); } else { /* not camera */ /* Apply the fly mode view */ |