Closed RichardAntalik closed 3 years ago
In which version of blender are you having this bug? And would you have a list of reproducible steps for me?
I need to be able to reproduce the bug to test it; so far everything's working as expected for me here.
It's issue you have reported to me in https://blender.chat/channel/vse?msg=BPrmy8H3mXoTe2QKk
Hi Richard, someone reported an issue with the Python code change you requested in 2.93 alpha. Deleting strips like so doesn't work:
Edit: added snippet in case link is not working
Ah sorry Richard, I didn't read your nickname, it's early morning here. So the bug @GTaulats is facing didn't involve any meta strips, but that's good to know.
I just did a minimal test and indeed it seems using bpy.context.scene.sequence_editor.sequences
as opposed to bpy.context.sequences
makes a difference.
@GTaulats would you try with just using bpy.context.scene.sequence_editor.sequences
and see if it solves the issue you had?
Fixed with a86a3274631c56ff29aa666717cbfbf41550d334
In issue #447 I have provided patch, but unfortunately it wasn't quite correct and I did not test it. Sorry for that :(. But also never trust any code no matter how good it looks :)
byp.context.sequences
is just generated collection of strips with no API functions. it happens to haveremove()
function, but that is collection internal function for managing members.So this is mildly annoying, that to use API function, you have to find actual
sequences
collection that belongs to meta strip. Here is patch for that, I have actually tested, but don't trust me anyway.Also sorry for delay, I forgot to save todo list so I almost forgot about this issue. It's best to report even small bugs on tracker.