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:
authorWilliam Reynish <billrey@me.com>2019-06-25 15:10:15 +0300
committerWilliam Reynish <billrey@me.com>2019-06-25 15:10:15 +0300
commit81e8b8f88a9e8a753b7beac232a13d8f808b8bdd (patch)
tree47619fc4eb860a4a55446eb60a43493e449e39f1 /source/blender/makesrna/intern/rna_sequencer.c
parent0c2c57167bb56e5d87ed38a70d0a2431e72bf704 (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.c2
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);