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:
authorHoward Trickey <howard.trickey@gmail.com>2022-03-26 20:20:16 +0300
committerHoward Trickey <howard.trickey@gmail.com>2022-03-26 20:20:16 +0300
commit082b063f2aefdfaadca8b2f33b505b956959195f (patch)
treef0e19eb403c0df38a4a92edad0bf684371ab0d2e /source/blender/makesrna/intern/rna_modifier.c
parentffafe494f62654d2d6de4684bed4a9cb7c2ccb55 (diff)
Increase bevel segment limit in modifier from 100 to 1000.
A user asked for this increase. The performance lags when reaching the upper limit of this number of segments, but if you need that many segments, I guess you are willing to wait.
Diffstat (limited to 'source/blender/makesrna/intern/rna_modifier.c')
-rw-r--r--source/blender/makesrna/intern/rna_modifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c
index 2ef2e776842..24a020b156c 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -4081,7 +4081,7 @@ static void rna_def_modifier_bevel(BlenderRNA *brna)
prop = RNA_def_property(srna, "segments", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "res");
- RNA_def_property_range(prop, 1, 100);
+ RNA_def_property_range(prop, 1, 1000);
RNA_def_property_ui_text(prop, "Segments", "Number of segments for round edges/verts");
RNA_def_property_update(prop, 0, "rna_BevelModifier_update_segments");