Commit: 773f5065f38fe3bb3b91424930e1c37ab85b4506
Author: YimingWu
Date:   Tue Oct 26 23:44:08 2021 +0800
Branches: master
https://developer.blender.org/rB773f5065f38fe3bb3b91424930e1c37ab85b4506

LineArt: Fix prop range for stroke_depth_offset.

===================================================================

M       source/blender/makesrna/intern/rna_gpencil_modifier.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c 
b/source/blender/makesrna/intern/rna_gpencil_modifier.c
index 29689a2b281..f5865e6ea26 100644
--- a/source/blender/makesrna/intern/rna_gpencil_modifier.c
+++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c
@@ -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");

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to