diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2019-05-25 01:08:33 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2019-05-25 01:13:01 +0300 |
commit | 0cb2c20ada26b80fc9dfa06dd21caa26e3e3d279 (patch) | |
tree | 294bf83f127049ac5c64af28cc01a1d676f3d1fa /release/scripts | |
parent | 5df4c0a4693c668645728de2d909f2c65907c054 (diff) |
Sequencer: Fix UI when scene strip has a NULL scene
Issue introduced on 86eefefdc1aa.
There was a `if scene:` check in the original code, as it turned out
there was a reason for that. We gotta be careful with these assumptions.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_sequencer.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_sequencer.py b/release/scripts/startup/bl_ui/space_sequencer.py index 442b14fab4b..dae7c13082f 100644 --- a/release/scripts/startup/bl_ui/space_sequencer.py +++ b/release/scripts/startup/bl_ui/space_sequencer.py @@ -1213,7 +1213,8 @@ class SEQUENCER_PT_scene(SequencerButtonsPanel, Panel): scene = strip.scene layout.prop(strip, "use_sequence") - layout.prop(scene, "audio_volume", text="Volume") + if scene: + layout.prop(scene, "audio_volume", text="Volume") if not strip.use_sequence: layout.alignment = 'RIGHT' |