fix [#28052] PET: Shift-O cycling skips "random falloff"
This commit is contained in:
parent
e6604288c8
commit
58895bee7b
|
@ -969,7 +969,7 @@ int transformEvent(TransInfo *t, wmEvent *event)
|
|||
break;
|
||||
case OKEY:
|
||||
if (t->flag & T_PROP_EDIT && event->shift) {
|
||||
t->prop_mode = (t->prop_mode + 1) % 6;
|
||||
t->prop_mode = (t->prop_mode + 1) % PROP_MODE_MAX;
|
||||
calculatePropRatio(t);
|
||||
t->redraw |= TREDRAW_HARD;
|
||||
}
|
||||
|
|
|
@ -1107,7 +1107,8 @@ typedef struct Scene {
|
|||
#define PROP_SHARP 3
|
||||
#define PROP_LIN 4
|
||||
#define PROP_CONST 5
|
||||
#define PROP_RANDOM 6
|
||||
#define PROP_RANDOM 6
|
||||
#define PROP_MODE_MAX 7
|
||||
|
||||
/* toolsettings->proportional */
|
||||
#define PROP_EDIT_OFF 0
|
||||
|
|
Loading…
Reference in New Issue