[Bf-blender-cvs] [60af4d207b7] master: UI: Incorrect info message after batch rename

Himanshi Kalra noreply at git.blender.org
Fri Sep 20 14:16:56 CEST 2019


Commit: 60af4d207b7008fb0ed559ac4372ceba8a13406a
Author: Himanshi Kalra
Date:   Fri Sep 20 14:15:32 2019 +0200
Branches: master
https://developer.blender.org/rB60af4d207b7008fb0ed559ac4372ceba8a13406a

UI: Incorrect info message after batch rename

Differential Revision: https://developer.blender.org/D5744

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

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 9a9975ad897..cb9af88f45f 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -2205,7 +2205,7 @@ class WM_OT_batch_rename(Operator):
                 change_len += 1
             total_len += 1
 
-        self.report({'INFO'}, "Renamed {:d} of {:d} {:s}".format(total_len, change_len, descr))
+        self.report({'INFO'}, "Renamed {:d} of {:d} {:s}".format(change_len, total_len, descr))
 
         return {'FINISHED'}



More information about the Bf-blender-cvs mailing list