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:
authorDalai Felinto <dalai@blender.org>2020-07-27 17:03:32 +0300
committerDalai Felinto <dalai@blender.org>2020-08-12 18:05:04 +0300
commit841d7793229e71e5526d9fb9c57500d85ee57666 (patch)
tree5ed1c17a13b6d2213f82d0fd784aea7e3636a17a /source/blender/makesrna/intern/rna_modifier.c
parentdf12e6778ae9fc421159242541186c291f5a6b2b (diff)
Increase hard limit for Remesher octree depth
Adding more precision to help making watertight objects to be printed. Differential Revision: https://developer.blender.org/D8551
Diffstat (limited to 'source/blender/makesrna/intern/rna_modifier.c')
-rw-r--r--source/blender/makesrna/intern/rna_modifier.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c
index 05e11ffc919..f95899262d3 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -5539,7 +5539,8 @@ static void rna_def_modifier_remesh(BlenderRNA *brna)
prop = RNA_def_property(srna, "octree_depth", PROP_INT, PROP_NONE);
RNA_def_property_int_sdna(prop, NULL, "depth");
- RNA_def_property_range(prop, 1, 12);
+ RNA_def_property_range(prop, 1, 24);
+ RNA_def_property_ui_range(prop, 1, 12, 1, 3);
RNA_def_property_ui_text(
prop, "Octree Depth", "Resolution of the octree; higher values give finer details");
RNA_def_property_update(prop, 0, "rna_Modifier_update");