diff options
author | Ton Roosendaal <ton@blender.org> | 2006-08-09 13:56:27 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-08-09 13:56:27 +0400 |
commit | 6c48d7bda2963d71185ae34c7fb5aa2cb66b8f22 (patch) | |
tree | ed9319f0c4d4790cd1118ec27371c1d976307388 /source | |
parent | 6e4b28968a091ea468f4a2fbde30dacf65563d57 (diff) |
Bugfix #4843
Added a call to compatible_eul() after applying camera rotation in fly,
this ensures you can insert rotation keys nicer.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/editview.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/src/editview.c b/source/blender/src/editview.c index 19a644c5c7b..76d857826b6 100644 --- a/source/blender/src/editview.c +++ b/source/blender/src/editview.c @@ -2320,7 +2320,11 @@ void fly(void) VECCOPY(G.vd->ofs, ofs_backup); G.vd->persp= persp_backup; } - } else if (persp_backup!=2) { /* not camera */ + } + else if (persp_backup==2) { /* camera */ + compatible_eul(G.vd->camera->rot, rot_backup); + } + else { /* not camera */ /* Apply the fly mode view */ /*restore the dist*/ upvec[0]= upvec[1]= 0; |