Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYimingWu <xp8110@outlook.com>2021-10-26 18:44:08 +0300
committerYimingWu <xp8110@outlook.com>2021-10-26 18:44:13 +0300
commit773f5065f38fe3bb3b91424930e1c37ab85b4506 (patch)
tree098a47b293e149a269ec9dcab3a2d3c053534d9c /source/blender
parentc3ef1c15f5653ac323f4d077c7faf7b46f3eee0d (diff)
LineArt: Fix prop range for stroke_depth_offset.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/makesrna/intern/rna_gpencil_modifier.c1
1 files changed, 1 insertions, 0 deletions
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");