diff options
author | William Reynish <billrey@me.com> | 2019-06-27 12:15:56 +0300 |
---|---|---|
committer | William Reynish <billrey@me.com> | 2019-06-27 12:15:56 +0300 |
commit | 1c60f30d0434cad528c1e4bf28de4460788deab9 (patch) | |
tree | 6f67d35456b67f6e60fc5212e79854f6d1125142 /source/blender/makesrna | |
parent | c93af8529dfec9513de3bfcead9d15fa0eeb9a81 (diff) |
Fix: Text Location lost X/Y text
Use PROP_XYZ instead, and user Slider=True to make them display as sliders in the UI
Diffstat (limited to 'source/blender/makesrna')
-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 bbf45695d30..241764ff9a6 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_FACTOR); + prop = RNA_def_property(srna, "location", PROP_FLOAT, PROP_XYZ); 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); |