correct fix for [#25737] Console error message
[blender.git] / release / scripts / ui / space_sequencer.py
index 3a9df992b57cce42491f0d44875872c0fcb4e9e4..110cb74d3c502879fde7697d517431797d8c07b5 100644 (file)
@@ -611,10 +611,11 @@ class SEQUENCER_PT_input(SequencerButtonsPanel, bpy.types.Panel):
             col.prop(strip.crop, "min_y")
             col.prop(strip.crop, "max_x")
 
             col.prop(strip.crop, "min_y")
             col.prop(strip.crop, "max_x")
 
-        col = layout.column(align=True)
-        col.label(text="Trim Duration (hard):")
-        col.prop(strip, "animation_offset_start", text="Start")
-        col.prop(strip, "animation_offset_end", text="End")
+        if not isinstance(strip, bpy.types.EffectSequence):
+            col = layout.column(align=True)
+            col.label(text="Trim Duration (hard):")
+            col.prop(strip, "animation_offset_start", text="Start")
+            col.prop(strip, "animation_offset_end", text="End")
 
         col = layout.column(align=True)
         col.label(text="Trim Duration (soft):")
 
         col = layout.column(align=True)
         col.label(text="Trim Duration (soft):")