LineArt: Fix prop range for stroke_depth_offset.
This commit is contained in:
parent
c3ef1c15f5
commit
773f5065f3
|
@ -3205,6 +3205,7 @@ static void rna_def_modifier_gpencillineart(BlenderRNA *brna)
|
|||
"Stroke Depth Offset",
|
||||
"Move strokes slightly towards the camera to avoid clipping while "
|
||||
"preserve depth for the viewport");
|
||||
RNA_def_property_range(prop, 0.0f, FLT_MAX);
|
||||
RNA_def_property_ui_range(prop, 0.0f, 0.5f, 0.001f, 4);
|
||||
RNA_def_property_update(prop, NC_SCENE, "rna_GpencilModifier_update");
|
||||
|
||||
|
|
Loading…
Reference in New Issue