diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2019-10-15 19:14:43 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2019-10-16 10:38:48 +0300 |
commit | 0dcc5572d6ab625056f3f89cfaa917bcc6625d6d (patch) | |
tree | 335b6bc695380c1b92e23fefbf5406f572ab6d53 /source/blender/makesrna | |
parent | 9dd5e3b6e89ca0be4207e64439f292519eaf7e6e (diff) |
Fix (unreported) VSE scene strip should not be able to set the scene to
self
Spotted while looking into T70845
Reviewers: sergey, ISS, campbellbarton
Differential Revision: https://developer.blender.org/D6073
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 c42cf91944e..31ead989f25 100644 --- a/source/blender/makesrna/intern/rna_sequencer.c +++ b/source/blender/makesrna/intern/rna_sequencer.c @@ -2225,7 +2225,7 @@ static void rna_def_scene(BlenderRNA *brna) RNA_def_struct_sdna(srna, "Sequence"); prop = RNA_def_property(srna, "scene", PROP_POINTER, PROP_NONE); - RNA_def_property_flag(prop, PROP_EDITABLE); + RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_SELF_CHECK); RNA_def_property_ui_text(prop, "Scene", "Scene that this sequence uses"); RNA_def_property_update(prop, NC_SCENE | ND_SEQUENCER, "rna_Sequence_invalidate_raw_update"); |