GPv3: Draw Tool: Use hardness value from tool settings
Use the `hardness` value from the grease pencil tool setting to set the (now called) `softness` attribute of the new stroke.
This commit is contained in:
@@ -182,7 +182,7 @@ struct PaintOperationExecutor {
|
||||
std::make_optional(color_base) :
|
||||
std::nullopt;
|
||||
}
|
||||
softness_ = 0.0f;
|
||||
softness_ = 1.0f - settings_->hardness;
|
||||
|
||||
BLI_assert(grease_pencil->has_active_layer());
|
||||
drawing_ = grease_pencil->get_editable_drawing_at(*grease_pencil->get_active_layer(),
|
||||
|
||||
Reference in New Issue
Block a user