Cleanup: Sequencer: Replace seqbasep variable access with function

With the aim of removing `seqbasep` to remove the complicated logic for
repairing pointers within the `Strip` struct when loading files and undo
steps, this commit just moves access of the variable behind a function.
In the future the function will retrieve the list from a Strip pointer,
for now it just returns the existing pointer.

Overall motivation is that blend file pointer manipulation is incompatible
with the changes required for #127706.

Pull Request: https://projects.blender.org/blender/blender/pulls/144624
This commit is contained in:
Hans Goudey
2025-08-18 15:39:58 +02:00
committed by Hans Goudey
parent e05089362c
commit a5d5eca487
27 changed files with 148 additions and 106 deletions

View File

@@ -26,7 +26,7 @@ class SequencerLoadMetastaskTest(unittest.TestCase):
self.assertEqual(len(meta_stack[0].sequences), 1)
self.assertEqual(meta_stack[0].sequences[0].name, "Color")
# accesses ed->seqbasep through screen_ctx_selected_editable_sequences
# accesses ed->current_strips() through screen_ctx_selected_editable_sequences
bpy.context.copy()