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:
authorJoshua Leung <aligorith@gmail.com>2017-08-11 07:16:30 +0300
committerJoshua Leung <aligorith@gmail.com>2017-08-11 15:06:00 +0300
commitd9323a537ffc070081bd2353f8e918b528e8c581 (patch)
treee616a73b83dac227cb4923ebfb24b2f49a7b9a84
parent8d42a26891856983ba7c25f8c85911306761a3d9 (diff)
Tweak maximum sizes of vertices/handle vertices
* 255 maximum seems excessive for F-Curve handle vertices; now reduced to 100 * Vertex Size is no longer restricted to the old 10px maximum size limit (used because Windows limited the maximum vertex size drivers needed to support)
-rw-r--r--source/blender/makesrna/intern/rna_userdef.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c
index 8e24646f3b2..986a85588ff 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -1308,7 +1308,7 @@ static void rna_def_userdef_theme_spaces_vertex(StructRNA *srna)
RNA_def_property_update(prop, 0, "rna_userdef_update");
prop = RNA_def_property(srna, "vertex_size", PROP_INT, PROP_NONE);
- RNA_def_property_range(prop, 1, 10);
+ RNA_def_property_range(prop, 1, 32);
RNA_def_property_ui_text(prop, "Vertex Size", "");
RNA_def_property_update(prop, 0, "rna_userdef_update");
@@ -1530,7 +1530,7 @@ static void rna_def_userdef_theme_spaces_curves(StructRNA *srna, bool incl_nurbs
RNA_def_property_update(prop, 0, "rna_userdef_update");
prop = RNA_def_property(srna, "handle_vertex_size", PROP_INT, PROP_NONE);
- RNA_def_property_range(prop, 0, 255);
+ RNA_def_property_range(prop, 1, 100);
RNA_def_property_ui_text(prop, "Handle Vertex Size", "");
RNA_def_property_update(prop, 0, "rna_userdef_update");
}