diff options
author | William Reynish <billrey@me.com> | 2019-06-25 15:10:15 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-06-25 15:10:15 +0300 |
commit | 81e8b8f88a9e8a753b7beac232a13d8f808b8bdd (patch) | |
tree | 47619fc4eb860a4a55446eb60a43493e449e39f1 /source/blender/makesrna/intern/rna_sequencer.c | |
parent | 0c2c57167bb56e5d87ed38a70d0a2431e72bf704 (diff) |
Use prop_factor instead of prop_percentage for Sequencer text placement
Since it goes from 0-1 and not 0-100.
Diffstat (limited to 'source/blender/makesrna/intern/rna_sequencer.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_sequencer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_sequencer.c b/source/blender/makesrna/intern/rna_sequencer.c index d0332afb2fb..bbf45695d30 100644 --- a/source/blender/makesrna/intern/rna_sequencer.c +++ b/source/blender/makesrna/intern/rna_sequencer.c @@ -2738,7 +2738,7 @@ static void rna_def_text(StructRNA *srna) RNA_def_property_update( prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_preprocessed_update"); - prop = RNA_def_property(srna, "location", PROP_FLOAT, PROP_PERCENTAGE); + prop = RNA_def_property(srna, "location", PROP_FLOAT, PROP_FACTOR); RNA_def_property_float_sdna(prop, NULL, "loc"); RNA_def_property_ui_text(prop, "Location", "Location of the text"); RNA_def_property_range(prop, -FLT_MAX, FLT_MAX); |