blender/tests/python
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
..
collada
modules Tests: Add FBX import tests, switch OBJ/PLY/STL import tests to the same machinery 2025-01-15 05:52:15 +01:00
system_python Add 'system python' validation for some py scripts. 2024-12-24 11:55:29 +01:00
ui_simulate
view_layer Cleanup: remove/comment unused functions 2024-12-02 11:23:47 +11:00
alembic_export_tests.py Merge branch 'blender-v4.3-release' 2024-11-03 22:04:44 +11:00
batch_import.py
bevel_operator.py
bl_alembic_io_test.py
bl_animation_action.py Anim: rename RNA Slot.id_root to Slot.target_id_type 2025-01-20 15:24:08 +01:00
bl_animation_armature.py
bl_animation_drivers.py Cleanup: declare __all__ for Python scripts 2025-01-06 16:45:36 +11:00
bl_animation_fcurves.py Cleanup: update use of typing in for Python scripts 2024-10-23 12:48:09 +11:00
bl_animation_keyframing.py Fix #132195: Unable to key mesh attributes 2025-01-02 16:39:21 +01:00
bl_animation_nla_strip.py Anim: rename RNA Slot.id_root to Slot.target_id_type 2025-01-20 15:24:08 +01:00
bl_blendfile_io.py Refactor: Tests: bl_blendfile: Use unittest module instead of asserts. 2025-01-17 21:05:39 +01:00
bl_blendfile_liblink.py Refactor: Tests: bl_blendfile: Use unittest module instead of asserts. 2025-01-17 21:05:39 +01:00
bl_blendfile_library_overrides.py Refactor: Tests: bl_blendfile: Use unittest module instead of asserts. 2025-01-17 21:05:39 +01:00
bl_blendfile_relationships.py Add file_path_map function to bpy.data. 2025-01-20 17:39:25 +01:00
bl_blendfile_utils.py Refactor: Tests: bl_blendfile: Use unittest module instead of asserts. 2025-01-17 21:05:39 +01:00
bl_blendfile_versioning.py Cleanup: declare __all__ for Python scripts 2025-01-06 16:45:36 +11:00
bl_bundled_modules.py
bl_constraints.py Anim: change parameters of slots.new() RNA function 2024-12-02 17:04:37 +01:00
bl_id_management.py Cleanup: pass multiple arguments to str.startswith 2024-10-30 16:33:37 +11:00
bl_imbuf_load.py Cleanup: declare __all__ for Python scripts 2025-01-06 16:45:36 +11:00
bl_imbuf_save.py Cleanup: format 2024-10-16 21:09:25 +11:00
bl_io_curve_svg_test.py Cleanup: declare __all__ for Python scripts 2025-01-06 16:45:36 +11:00
bl_keymap_completeness.py
bl_keymap_validate.py mypy: add 3 scripts to the "make check_mypy" config 2024-11-02 23:18:59 +11:00
bl_load_addons.py Cleanup: declare __all__ for Python scripts 2025-01-06 16:45:36 +11:00
bl_load_py_modules.py
bl_mesh_modifiers.py
bl_mesh_validate.py Cleanup: declare __all__ for Python scripts 2025-01-06 16:45:36 +11:00
bl_node_field_type_inference.py
bl_node_group_compat.py
bl_node_group_interface.py Compositor: Support node integer sockets 2025-01-06 10:09:26 +01:00
bl_pyapi_bpy_driver_secure_eval.py PyAPI: remove use of BaseException 2024-10-01 13:18:46 +10:00
bl_pyapi_bpy_path.py
bl_pyapi_bpy_utils_units.py Cleanup: declare __all__ for Python scripts 2025-01-06 16:45:36 +11:00
bl_pyapi_grease_pencil.py Grease Pencil: Setter for drawing property on frame python API 2024-11-22 14:19:20 +01:00
bl_pyapi_idprop.py
bl_pyapi_idprop_datablock.py Fix idprop_datablock unittest missing some cleanups. 2024-10-11 18:19:55 +02:00
bl_pyapi_mathutils.py
bl_pyapi_prop_array.py PyDoc: correct use of single back-ticks 2024-11-03 21:50:33 +11:00
bl_pyapi_text.py
bl_rigging_symmetrize.py Anim: rename slot name to slot identifier 2024-11-26 12:11:06 +01:00
bl_rna_defaults.py
bl_rna_manual_reference.py
bl_rna_paths.py RNA: Add basic tests for the path_from_id() function. 2025-01-09 16:46:37 +01:00
bl_rst_completeness.py
bl_test.py Cleanup: use context-manager for opening files 2025-01-04 22:26:18 +11:00
bl_usd_export_test.py USD: Write extents out for Curves and more consistently for other types 2025-01-17 03:28:13 +01:00
bl_usd_import_test.py USD: Support additional animated Basis Curves data during import/export 2025-01-15 23:29:42 +01:00
boolean_operator.py
CMakeLists.txt Tests: Add 'with ASAN' knowledge to Linux release checks. 2025-01-21 09:40:50 +01:00
compositor_render_tests.py Cleanup: Make format 2024-12-19 15:12:38 +02:00
curve_to_mesh.py
curves_extrude.py Cleanup: move binary operator to line end in Python scripts 2024-11-02 15:43:26 +11:00
cycles_render_tests.py Tests: Enable OptiX OSL window test 2025-01-20 05:06:13 +01:00
deform_modifiers.py
eevee_next_render_tests.py Cleanup: Formatting 2024-12-13 11:15:15 -05:00
ffmpeg_tests.py VSE: Python API: Deprecate sequence properties and replace with new ones 2025-01-21 11:30:20 +01:00
geo_node_sim_test.py
geo_node_test.py
gpu_info.py
io_fbx_import_test.py Tests: Add FBX import tests, switch OBJ/PLY/STL import tests to the same machinery 2025-01-15 05:52:15 +01:00
io_obj_import_test.py Tests: Add FBX import tests, switch OBJ/PLY/STL import tests to the same machinery 2025-01-15 05:52:15 +01:00
io_ply_import_test.py Tests: Add FBX import tests, switch OBJ/PLY/STL import tests to the same machinery 2025-01-15 05:52:15 +01:00
io_stl_import_test.py Tests: Add FBX import tests, switch OBJ/PLY/STL import tests to the same machinery 2025-01-15 05:52:15 +01:00
modifiers.py
object_conversion.py Grease Pencil: Convert from mesh to Grease Pencil 2025-01-14 08:28:52 +01:00
opengl_draw_tests.py Refactor: render tests, change how argparse is used 2024-12-10 14:52:34 +01:00
operators.py Fix #129110: Join triangles can assert when topology influence is used 2024-10-17 16:21:49 +11:00
pep8.py Cleanup: exclude "./lib/" from pep8 checker 2024-11-06 10:49:53 +11:00
physics_cloth.py
physics_dynamic_paint.py
physics_ocean.py
physics_particle_instance.py
physics_particle_system.py
physics_softbody.py
rna_array.py
rna_info_dump.py
rst_to_doctree_mini.py
sequencer_render_tests.py Refactor: render tests, change how argparse is used 2024-12-10 14:52:34 +01:00
storm_render_tests.py Tests: Add render tests for texture nodes 2025-01-19 00:52:22 +01:00
workbench_render_tests.py Refactor: render tests, change how argparse is used 2024-12-10 14:52:34 +01:00