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.
This commit is contained in:
@@ -2323,7 +2323,9 @@ void fly(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (persp_backup==2) { /* camera */
|
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 */
|
else { /* not camera */
|
||||||
/* Apply the fly mode view */
|
/* Apply the fly mode view */
|
||||||
|
|||||||
Reference in New Issue
Block a user