Refactor: Tasks merge into only one list.
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
anddisplayed_tasks
objects merged totasks
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