[Bf-blender-cvs] [fdb40622942] blender2.8: Cleanup: unused variables
Campbell Barton
noreply at git.blender.org
Tue Aug 14 17:49:24 CEST 2018
Commit: fdb40622942ecae93afad32bee4b9e78598650a8
Author: Campbell Barton
Date: Wed Aug 15 01:52:39 2018 +1000
Branches: blender2.8
https://developer.blender.org/rBfdb40622942ecae93afad32bee4b9e78598650a8
Cleanup: unused variables
===================================================================
M release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
index 363b409c688..d9586a0c15c 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_toolbar.py
@@ -157,7 +157,6 @@ class _defs_view3d_generic:
@ToolDef.from_fn
def cursor():
def draw_settings(context, layout, tool):
- wm = context.window_manager
props = tool.operator_properties("view3d.cursor3d")
layout.prop(props, "use_depth")
layout.prop(props, "orientation")
@@ -511,7 +510,6 @@ class _defs_edit_mesh:
@ToolDef.from_fn
def rip_region():
def draw_settings(context, layout, tool):
- wm = context.window_manager
props = tool.operator_properties("mesh.rip_move")
props_macro = props.MESH_OT_rip
layout.prop(props_macro, "use_fill")
@@ -611,7 +609,6 @@ class _defs_edit_mesh:
@ToolDef.from_fn
def inset():
def draw_settings(context, layout, tool):
- wm = context.window_manager
props = tool.operator_properties("mesh.inset")
layout.prop(props, "use_outset")
layout.prop(props, "use_individual")
@@ -726,7 +723,6 @@ class _defs_edit_mesh:
@ToolDef.from_fn
def shrink_fatten():
def draw_settings(context, layout, tool):
- wm = context.window_manager
props = tool.operator_properties("transform.shrink_fatten")
layout.prop(props, "use_even_offset")
@@ -756,7 +752,6 @@ class _defs_edit_mesh:
@ToolDef.from_fn
def knife():
def draw_settings(context, layout, tool):
- wm = context.window_manager
props = tool.operator_properties("mesh.knife_tool")
layout.prop(props, "use_occlude_geometry")
layout.prop(props, "only_selected")
@@ -996,7 +991,6 @@ class _defs_weight_paint:
@ToolDef.from_fn
def gradient():
def draw_settings(context, layout, tool):
- wm = context.window_manager
props = tool.operator_properties("paint.weight_gradient")
layout.prop(props, "type")
More information about the Bf-blender-cvs
mailing list