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_nodetree.c | |
parent | a8a567d28eb67f4b8403be4f4959e07d1dd8628e (diff) |
UI: use proportional option while dragging buttons
Diffstat (limited to 'source/blender/makesrna/intern/rna_nodetree.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_nodetree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c index 63a51071c56..57713e7a037 100644 --- a/source/blender/makesrna/intern/rna_nodetree.c +++ b/source/blender/makesrna/intern/rna_nodetree.c @@ -3232,6 +3232,7 @@ static void def_sh_mapping(StructRNA *srna) prop = RNA_def_property(srna, "scale", 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, "Scale", ""); RNA_def_property_update(prop, 0, "rna_Mapping_Node_update"); |