Fix #130110: GPv3: Fill tool respect legacy radius factor
After applying fill tool, the `LEGACY_RADIUS_CONVERSION_FACTOR` was not multiplied back so the value in the brush settings panel will become smaller and smaller for each execution of the tool. Now fixed. Pull Request: https://projects.blender.org/blender/blender/pulls/130120
This commit is contained in:
@@ -1428,7 +1428,8 @@ static bool grease_pencil_apply_fill(bContext &C, wmOperator &op, const wmEvent
|
||||
WM_cursor_modal_restore(&win);
|
||||
|
||||
/* Save extend value for next operation. */
|
||||
brush.gpencil_settings->fill_extend_fac = op_data.extension_length;
|
||||
brush.gpencil_settings->fill_extend_fac = op_data.extension_length /
|
||||
bke::greasepencil::LEGACY_RADIUS_CONVERSION_FACTOR;
|
||||
BKE_brush_tag_unsaved_changes(&brush);
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user