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
This commit is contained in:
Dalai Felinto
2020-07-27 16:03:32 +02:00
parent df12e6778a
commit 841d779322

View File

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