Skip to content

Refactor: Tasks merge into only one list.

Félix David requested to merge Tilix4/stax:merge_tasks into develop

There is now one collection scene.tasks which stores every information related to the tasks. (instead of 3)

A task with displayed = False won't be updated, everything is based on this parameter. synchronized has been removed because it was confusing.

The tasks order in the stax sequencer is given by the tasks order in the timeline.otio

A lot of code has been deleted, with a lot of read/write user config, then huge performances improvements come with this refactor.

Changes

  • user_tasks, project_tasks and displayed_tasks objects merged to tasks object.
  • WM_OT_SelectTaskToDisplay.execute(): Change current_displayed_tasks if it was a task that is now hidden by displaying the last one

How to convert

Linker:

  • get_user_tasks() -> get_tasks()
Edited by Félix David

Merge request reports