blender/scripts
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
..
addons_core Anim: rename RNA Slot.id_root to Slot.target_id_type 2025-01-20 15:24:08 +01:00
freestyle
modules Fix #133259: Regression: Error when saving a theme 2025-01-20 10:35:27 +01:00
presets Fix #132545: Grease Pencil: Change primitive tool radius/strength with hotkey 2025-01-19 10:00:18 +01:00
site Python Module: Bundle VFX library python bindings 2025-01-17 10:13:31 +01:00
startup VSE: Python API: Deprecate sequence properties and replace with new ones 2025-01-21 11:30:20 +01:00
templates_osl
templates_py Cleanup: argument wrapping for Python scripts 2025-01-14 12:53:32 +11:00
templates_toml