blender/doc
Falk David b9f253564e VSE: Python API: Deprecate sequence properties and replace with new ones
This PR adds new RNA properties that deprecate and replace any `sequence` property.
The old prooperties are still there and fully functional, but the description is changed
to indicate that these will be removed in the future and that the new properties should
be used instead.

| Deprecated property | Replacement property |
| --------------------------------- | ----------------------------------- |
| `context.active_sequence_strip` | `context.active_strip` |
| `context.selected_editable_sequences` | `context.selected_editable_strips` |
| `context.selected_sequences` | `context.selected_strips` |
| `context.sequences` | `context.strips` |
| `SequenceEditor.sequences` | `SequenceEditor.strips` |
| `SequenceEditor.sequences_all` |  `SequenceEditor.strips_all` |
| `MetaStrip.sequences` | `MetaStrip.strips` |

Previously, rna paths for animation data on strips started with `sequence_editor.sequences`.
This PRadds versioning for the rna paths to make sure to use
the new naming scheme. This does mean that in previous versions of blender,
the animations don't show but the data is not lost (even if the file is saved in the older version).

Also do some cleanup of existing python scripts inside the source to use the
new properties.

Part of #132963.

Pull Request: https://projects.blender.org/blender/blender/pulls/133156
2025-01-21 11:30:20 +01:00
..
blender_file_format Cleanup: quiet Python linter warnings 2024-12-11 11:26:24 +11:00
doxygen Release cycle: Bump main to 4.4, alpha 2024-10-02 12:12:36 +02:00
guides Cleanup: spelling in comments 2023-08-25 09:40:42 +10:00
license UV: add support for the SLIM unwrapping algorithm 2024-09-21 16:48:53 +10:00
manpage Add 'system python' validation for some py scripts. 2024-12-24 11:55:29 +01:00
python_api VSE: Python API: Deprecate sequence properties and replace with new ones 2025-01-21 11:30:20 +01:00