GPencil: Fix unreported Shift+F OPacity key not working
This wa snot working since the new scale thickness was included.
This commit is contained in:
parent
dc6cee4724
commit
00961d062a
Notes:
blender-bot
2023-02-14 06:00:49 +01:00
Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
|
@ -317,10 +317,12 @@ void createTransGPencil(bContext *C, TransInfo *t)
|
|||
/* for other transform modes (e.g. shrink-fatten), need to additional data
|
||||
* but never for mirror
|
||||
*/
|
||||
if ((t->mode != TFM_MIRROR) && (is_scale_thickness)) {
|
||||
if (t->mode != TFM_MIRROR) {
|
||||
if (t->mode != TFM_GPENCIL_OPACITY) {
|
||||
td->val = &pt->pressure;
|
||||
td->ival = pt->pressure;
|
||||
if (is_scale_thickness) {
|
||||
td->val = &pt->pressure;
|
||||
td->ival = pt->pressure;
|
||||
}
|
||||
}
|
||||
else {
|
||||
td->val = &pt->strength;
|
||||
|
|
Loading…
Reference in New Issue