LineArt: Fix prop range for stroke_depth_offset.

This commit is contained in:
YimingWu 2021-10-26 23:44:08 +08:00
parent c3ef1c15f5
commit 773f5065f3
1 changed files with 1 additions and 0 deletions

View File

@ -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");