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:
authorTon Roosendaal <ton@blender.org>2006-10-12 13:32:47 +0400
committerTon Roosendaal <ton@blender.org>2006-10-12 13:32:47 +0400
commit86e192ea40ececcade256e528c557d9018751cb8 (patch)
tree9ca907587ec969422221575d0ddd86dbde4be9c8 /source/blender/src/editview.c
parent1be92c8b19cf63890bae3e409a4ede563bae7200 (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.c4
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 */