Sequencer: Fix UI when scene strip has a NULL scene
Issue introduced on 86eefefdc1.
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.
			
			
This commit is contained in:
		@@ -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'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user