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.
This commit is contained in:
2006-10-12 09:32:47 +00:00
parent 1be92c8b19
commit 86e192ea40

View File

@@ -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 */