Commit: 1c60f30d0434cad528c1e4bf28de4460788deab9 Author: William Reynish Date: Thu Jun 27 11:15:56 2019 +0200 Branches: master https://developer.blender.org/rB1c60f30d0434cad528c1e4bf28de4460788deab9
Fix: Text Location lost X/Y text Use PROP_XYZ instead, and user Slider=True to make them display as sliders in the UI =================================================================== M release/scripts/startup/bl_ui/space_sequencer.py M source/blender/makesrna/intern/rna_sequencer.c =================================================================== diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index 884d68ec850..1f67c9b12cf 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -1054,7 +1054,7 @@ class SEQUENCER_PT_effect(SequencerButtonsPanel, Panel): col.prop(strip, "align_x", text="Horizontal") col.prop(strip, "align_y", text="Vertical") row = col.row(align=True) - row.prop(strip, "location", text="Location") + row.prop(strip, "location", text="Location", slider=True) col.prop(strip, "wrap_width") layout.operator("sequencer.export_subtitles", text="Export Subtitles", icon='EXPORT') 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); _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org https://lists.blender.org/mailman/listinfo/bf-blender-cvs