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_linestyle.c | |
parent | a8a567d28eb67f4b8403be4f4959e07d1dd8628e (diff) |
UI: use proportional option while dragging buttons
Diffstat (limited to 'source/blender/makesrna/intern/rna_linestyle.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_linestyle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_linestyle.c b/source/blender/makesrna/intern/rna_linestyle.c index 03319a9ccf8..e03a3352bac 100644 --- a/source/blender/makesrna/intern/rna_linestyle.c +++ b/source/blender/makesrna/intern/rna_linestyle.c @@ -848,11 +848,13 @@ static void rna_def_linestyle_modifiers(BlenderRNA *brna) prop = RNA_def_property(srna, "scale_x", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "scale_x"); + RNA_def_property_flag(prop, PROP_PROPORTIONAL); RNA_def_property_ui_text(prop, "Scale X", "Scaling factor that is applied along the X axis"); RNA_def_property_update(prop, NC_LINESTYLE, NULL); prop = RNA_def_property(srna, "scale_y", PROP_FLOAT, PROP_NONE); RNA_def_property_float_sdna(prop, NULL, "scale_y"); + RNA_def_property_flag(prop, PROP_PROPORTIONAL); RNA_def_property_ui_text(prop, "Scale Y", "Scaling factor that is applied along the Y axis"); RNA_def_property_update(prop, NC_LINESTYLE, NULL); |