[Bf-blender-cvs] [4a38856327a] temp-remesh-octree: Increase hard limit for Remesher octree depth

Dalai Felinto noreply at git.blender.org
Mon Jul 27 16:12:33 CEST 2020


Commit: 4a38856327a9c42936b23160b629ea83dc0c94db
Author: Dalai Felinto
Date:   Mon Jul 27 16:03:32 2020 +0200
Branches: temp-remesh-octree
https://developer.blender.org/rB4a38856327a9c42936b23160b629ea83dc0c94db

Increase hard limit for Remesher octree depth

Adding more precision to help making watertight objects to be printed.

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

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

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

diff --git a/source/blender/makesrna/intern/rna_modifier.c b/source/blender/makesrna/intern/rna_modifier.c
index 86f05c350f3..137a008e782 100644
--- a/source/blender/makesrna/intern/rna_modifier.c
+++ b/source/blender/makesrna/intern/rna_modifier.c
@@ -5494,7 +5494,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");



More information about the Bf-blender-cvs mailing list