Little showstopper; the fix for enabling typing (3d) text in 3d window
with 'emulate numpad' disabled plus/minus hotkey in imagewindow for zoom. Added it also for oops. More problems with it for other spaces makes it important te review for next release. But this is for people who use laptops or minimalistic keyboards... :)
This commit is contained in:
@@ -3604,6 +3604,12 @@ void winqreadimagespace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* least intrusive nonumpad hack, only for plus/minus */
|
||||
if (U.flag & USER_NONUMPAD) {
|
||||
event= convert_for_nonumpad(event);
|
||||
}
|
||||
|
||||
/* Events handled always (whether the draw tool is active or not) */
|
||||
switch (event) {
|
||||
case UI_BUT_EVENT:
|
||||
@@ -3680,6 +3686,10 @@ void winqreadoopsspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
|
||||
}
|
||||
}
|
||||
|
||||
if (U.flag & USER_NONUMPAD) {
|
||||
event= convert_for_nonumpad(event);
|
||||
}
|
||||
|
||||
switch(event) {
|
||||
case LEFTMOUSE:
|
||||
gesture();
|
||||
|
||||
Reference in New Issue
Block a user