Fix: GPv3: Don't convert default thickness factor
The check that would early return to skip the thickness conversion was wrong. It should check if the factor is 0 and then return.
This commit is contained in:
@@ -496,7 +496,7 @@ static bNodeTree *add_offset_radius_node_tree(Main &bmain)
|
||||
|
||||
void thickness_factor_to_modifier(const bGPdata &src_object_data, Object &dst_object)
|
||||
{
|
||||
if (src_object_data.pixfactor <= 0.0f) {
|
||||
if (src_object_data.pixfactor == 1.0f) {
|
||||
return;
|
||||
}
|
||||
const float thickness_factor = src_object_data.pixfactor;
|
||||
|
||||
Reference in New Issue
Block a user