Skip to content

Bugfix/Refactor: Allow multiple layer rendering

Félix David requested to merge Tilix4/stax:bf_annotation_layer_publish into 2.0

Description of change

To allow multiple layer rendering, I refactored the publish_session operator to be sequence based instead of being drawing based. This makes the code much more easy to maintain.

  • get_visible_sequences function created to get all the sequences that are currently visible by the playhead.

Fix #173 (closed)

How to test it

  • Draw on several layers
  • Publish

Checklist

Please check if your MR fulfills the following requirements:

  • Unit tests have been added, if needed
  • Documentation have been updated, if needed
  • Build was run locally and any changes were pushed
  • Lint has passed locally without error
  • Package.py have been updated, if needed
  • CHANGELOG.md have been updated, if needed
  • Version numer has been tagged, if needed

FYI: @seblrd

Edited by Félix David

Merge request reports