diff options
author | Campbell Barton <ideasman42@gmail.com> | 2008-05-27 12:51:47 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2008-05-27 12:51:47 +0400 |
commit | 54572ccc228f2401b11fce7bcfea444b66c8cdce (patch) | |
tree | 6a639fe59553586155d97a71e269f6c87c33ce16 /source/blender/src/toets.c | |
parent | c0a40125bb89791e54468219e30e986b0291d29d (diff) |
bugfix for view naming, pressing numpad5 would clear the V3D_OPP_DIRECTION_NAME flag even though it wont switch the view direction.
Diffstat (limited to 'source/blender/src/toets.c')
-rw-r--r-- | source/blender/src/toets.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/toets.c b/source/blender/src/toets.c index 5b6af61949f..5f80f14d069 100644 --- a/source/blender/src/toets.c +++ b/source/blender/src/toets.c @@ -228,8 +228,8 @@ void persptoetsen(unsigned short event) } else { /* Indicate that this view is not inverted. - * Don't do this for PADMINUS/PADPLUSKEY, though. (jobbe)*/ - if (event != PADMINUS && event != PADPLUSKEY) + * Don't do this for PADMINUS/PADPLUSKEY/PAD5, though. (jobbe)*/ + if (! ELEM3(event, PADMINUS, PADPLUSKEY, PAD5) ) G.vd->flag2 &= ~V3D_OPP_DIRECTION_NAME; |