Fix: GPv3: Draw tool overwrites hardness value
The draw tool didn't skip over the hardness attribute when initializing the rest of all the attributes with default values.
This commit is contained in:
@@ -258,7 +258,7 @@ struct PaintOperationExecutor {
|
||||
curves.points_range().take_back(1));
|
||||
bke::fill_attribute_range_default(attributes,
|
||||
bke::AttrDomain::Curve,
|
||||
{"curve_type", "material_index", "cyclic"},
|
||||
{"curve_type", "material_index", "cyclic", "hardness"},
|
||||
curves.curves_range().take_back(1));
|
||||
|
||||
drawing_->tag_topology_changed();
|
||||
|
||||
Reference in New Issue
Block a user