Increase maximum octree depth to 12
authorNicholas Bishop <nicholasbishop@gmail.com>
Sat, 6 Oct 2012 17:51:52 +0000 (17:51 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Sat, 6 Oct 2012 17:51:52 +0000 (17:51 +0000)
Note that this is just an RNA change, underlying dualcon octree
already supports even higher values.

source/blender/makesrna/intern/rna_modifier.c

index eb4660c18e84d23117a930b072024e8bf6d55259..1b26c0447ffde5c57d89ee1a67ea1d3dbf241715 100644 (file)
@@ -3007,7 +3007,7 @@ 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, 10);
+       RNA_def_property_range(prop, 1, 12);
        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");