[Bf-blender-cvs] [1f65001caee] soc-2021-uv-editor-improvements: Change the max limit for Dynamic grid

Siddhartha Jejurkar noreply at git.blender.org
Thu Jul 1 08:35:16 CEST 2021


Commit: 1f65001caee2b6aa43995bc5d6354145a0cef033
Author: Siddhartha Jejurkar
Date:   Thu Jul 1 12:02:33 2021 +0530
Branches: soc-2021-uv-editor-improvements
https://developer.blender.org/rB1f65001caee2b6aa43995bc5d6354145a0cef033

Change the max limit for Dynamic grid

The max limit for dynamic grid was set at 12. This commit changes that
to 5000

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

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

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

diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index c78b6c9328c..e07f16bd194 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -3448,7 +3448,7 @@ static void rna_def_space_image_uv(BlenderRNA *brna)
   prop = RNA_def_property(srna, "dynamic_grid_size", PROP_INT, PROP_NONE);
   RNA_def_property_int_sdna(prop, NULL, "dynamic_grid_size");
   RNA_def_property_int_default(prop, 1);
-  RNA_def_property_range(prop, 1, 12);
+  RNA_def_property_range(prop, 1, 5000);
   RNA_def_property_ui_text(
       prop, "Dynamic Grid Size", "How many grid units in UV space make one UV Unit");
   RNA_def_property_update(prop, NC_SPACE | ND_SPACE_IMAGE, NULL);



More information about the Bf-blender-cvs mailing list