[Bf-blender-cvs] [a9e389b8c48] master: WM: make find/replace default for batch rename

Campbell Barton noreply at git.blender.org
Sun Sep 1 17:58:45 CEST 2019


Commit: a9e389b8c4875a73111e53780acdc03c5b7ccd00
Author: Campbell Barton
Date:   Mon Sep 2 01:57:39 2019 +1000
Branches: master
https://developer.blender.org/rBa9e389b8c4875a73111e53780acdc03c5b7ccd00

WM: make find/replace default for batch rename

Use this since it's a common operation for batch naming.

===================================================================

M	release/scripts/startup/bl_operators/wm.py

===================================================================

diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 79a52ccd6e7..c20edced0f1 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -1770,9 +1770,9 @@ class BatchRenameAction(bpy.types.PropertyGroup):
     type: EnumProperty(
         name="Operation",
         items=(
+            ('REPLACE', "Find/Replace", "Replace text in the name"),
             ('SET', "Set Name", "Set a new name or prefix/suffix the existing one"),
             ('STRIP', "Strip Characters", "Strip leading/trailing text from the name"),
-            ('REPLACE', "Find/Replace", "Replace text in the name"),
             ('CASE', "Change Case", "Change case of each name"),
         ),
     )



More information about the Bf-blender-cvs mailing list