forked from bartvdbraak/blender
bugfix for view naming, pressing numpad5 would clear the V3D_OPP_DIRECTION_NAME flag even though it wont switch the view direction.
This commit is contained in:
parent
c0a40125bb
commit
54572ccc22
@ -228,8 +228,8 @@ void persptoetsen(unsigned short event)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* Indicate that this view is not inverted.
|
/* Indicate that this view is not inverted.
|
||||||
* Don't do this for PADMINUS/PADPLUSKEY, though. (jobbe)*/
|
* Don't do this for PADMINUS/PADPLUSKEY/PAD5, though. (jobbe)*/
|
||||||
if (event != PADMINUS && event != PADPLUSKEY)
|
if (! ELEM3(event, PADMINUS, PADPLUSKEY, PAD5) )
|
||||||
G.vd->flag2 &= ~V3D_OPP_DIRECTION_NAME;
|
G.vd->flag2 &= ~V3D_OPP_DIRECTION_NAME;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user