Fix #141693: Grease Pencil: Restore jitter behaviour

The line to get `jitter_settings_` was accidentally removed by
cac2806ee2. This patch adds that back so
strokes will still have the correct jitter settings when drawing.

Pull Request: https://projects.blender.org/blender/blender/pulls/141707
This commit is contained in:
YimingWu
2025-07-10 11:03:07 +02:00
committed by YimingWu
parent 26b8846d94
commit 69da277dcb

View File

@@ -303,6 +303,7 @@ struct PaintOperationExecutor {
}
softness_ = 1.0f - settings_->hardness;
aspect_ratio_ = settings_->aspect_ratio[0] / math::max(settings_->aspect_ratio[1], 1e-8f);
jitter_settings_ = BKE_brush_color_jitter_get_settings(scene_, paint, brush_);
}
void process_start_sample(PaintOperation &self,