diff options
author | Campbell Barton <campbell@blender.org> | 2022-01-18 03:13:05 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-01-18 03:13:05 +0300 |
commit | 84f6d86445d59b011782c920dbc842a28bf2500b (patch) | |
tree | ab976f19ddabff751aa40aaeb03a9a18b587a20a /release/scripts/startup | |
parent | c11c2a4b91d57bed588615734da858ac3c2af5b3 (diff) |
Fix batch renaming selected meta-strips
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_operators/wm.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index 5ee857d7ea2..e99858a64a5 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -2514,10 +2514,9 @@ class WM_OT_batch_rename(Operator): return data_type_test if data_type == data_type_test: data = ( - # TODO, we don't have access to seqbasep, this won't work when inside metas. - [seq for seq in context.scene.sequence_editor.sequences_all if seq.select] + context.selected_sequences if only_selected else - context.scene.sequence_editor.sequences_all, + scene.sequence_editor.sequences_all, "name", "Strip(s)", ) |