VSE: Update text of text strip after each typed character

Use `PROP_TEXTEDIT_UPDATE`
This commit is contained in:
Richard Antalik
2023-03-18 05:29:04 +01:00
parent bb1c503bee
commit 1b2f58adff

View File

@@ -3328,6 +3328,7 @@ static void rna_def_text(StructRNA *srna)
prop = RNA_def_property(srna, "text", PROP_STRING, PROP_NONE);
RNA_def_property_ui_text(prop, "Text", "Text that will be displayed");
RNA_def_property_flag(prop, PROP_TEXTEDIT_UPDATE);
RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_raw_update");
prop = RNA_def_property(srna, "use_shadow", PROP_BOOLEAN, PROP_NONE);