diff options
author | Joilnen Leite <joilnen.leite@gmail.com> | 2008-09-29 13:54:26 +0400 |
---|---|---|
committer | Joilnen Leite <joilnen.leite@gmail.com> | 2008-09-29 13:54:26 +0400 |
commit | 404dad0e7f965cbfd4c504c99bc0ea1f1a14c130 (patch) | |
tree | 0a7e47d59e21c372756bcf55062f85e80edaeae4 /source/blender/src/toets.c | |
parent | 445b83e3ceca19c09427b6236052265a55dae24f (diff) |
rewiten a if statment
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r-- | source/blender/src/toets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c index e40a2f5c044..bb2e83d8fa5 100644 --- a/source/blender/src/toets.c +++ b/source/blender/src/toets.c @@ -299,7 +299,7 @@ void persptoetsen(unsigned short event) G.vd->lpersp= G.vd->persp; G.vd->lastview_set= 1; } - else if(G.vd->lastview_set) { + else { /* return to settings of last view */ axis_set_view(G.vd->lviewquat[0], G.vd->lviewquat[1], G.vd->lviewquat[2], G.vd->lviewquat[3], G.vd->lview, G.vd->lpersp); G.vd->lastview_set= 0; |