diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-09 01:42:45 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-09 01:42:45 +0400 |
commit | 385c892418eec2851d2ab3c30c1ddee4b8ebb237 (patch) | |
tree | 7a8306832467f913ea89a2b181a8d2e984d09873 /source/blender/makesrna/intern/rna_mesh.c | |
parent | a8a567d28eb67f4b8403be4f4959e07d1dd8628e (diff) |
UI: use proportional option while dragging buttons
Diffstat (limited to 'source/blender/makesrna/intern/rna_mesh.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_mesh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c index 6e1b39e9ea7..5d4f3e68d5b 100644 --- a/source/blender/makesrna/intern/rna_mesh.c +++ b/source/blender/makesrna/intern/rna_mesh.c @@ -2486,6 +2486,7 @@ void rna_def_texmat_common(StructRNA *srna, const char *texspace_editable) prop = RNA_def_property(srna, "texspace_size", PROP_FLOAT, PROP_XYZ); RNA_def_property_float_sdna(prop, NULL, "size"); + RNA_def_property_flag(prop, PROP_PROPORTIONAL); RNA_def_property_ui_text(prop, "Texture Space Size", "Texture space size"); RNA_def_property_float_funcs(prop, "rna_Mesh_texspace_size_get", NULL, NULL); RNA_def_property_editable_func(prop, texspace_editable); |