[Bf-blender-cvs] [171ba424394] master: Fix error in unused argument cleanup

Campbell Barton noreply at git.blender.org
Mon Mar 8 14:26:02 CET 2021


Commit: 171ba4243941770351e8190a1690e4ba61d25abf
Author: Campbell Barton
Date:   Tue Mar 9 00:24:51 2021 +1100
Branches: master
https://developer.blender.org/rB171ba4243941770351e8190a1690e4ba61d25abf

Fix error in unused argument cleanup

Bad keyword argument rename from
9dc0c44aa102b5a7dae1fe92fd9105231ab1798c

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

M	release/scripts/startup/bl_ui/space_toolsystem_common.py

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

diff --git a/release/scripts/startup/bl_ui/space_toolsystem_common.py b/release/scripts/startup/bl_ui/space_toolsystem_common.py
index 25f2a740f7c..12ec863327c 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_common.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_common.py
@@ -1022,7 +1022,7 @@ def activate_by_id(context, space_type, idname, *, as_fallback=False):
     return True
 
 
-def activate_by_id_or_cycle(context, space_type, idname, *, offset=1, _as_fallback=False):
+def activate_by_id_or_cycle(context, space_type, idname, *, offset=1, as_fallback=False):
 
     # Only cycle when the active tool is activated again.
     cls = ToolSelectPanelHelper._tool_class_from_space_type(space_type)



More information about the Bf-blender-cvs mailing list