Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-08-29 16:58:44 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-08-29 16:58:44 +0300
commite81c352746483acb50fbeddbba4249cdcb51d952 (patch)
tree3d8ffc7458835a78c9a752ed820d5c5f19fc0072 /release/scripts/startup/bl_ui/space_toolsystem_common.py
parent5269a3c1afec106bb76bad2f158f3c46d264c59c (diff)
Tool System: hide paint options for non brush tools
Diffstat (limited to 'release/scripts/startup/bl_ui/space_toolsystem_common.py')
-rw-r--r--release/scripts/startup/bl_ui/space_toolsystem_common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_toolsystem_common.py b/release/scripts/startup/bl_ui/space_toolsystem_common.py
index 727b0fd85b4..e03b3eb585d 100644
--- a/release/scripts/startup/bl_ui/space_toolsystem_common.py
+++ b/release/scripts/startup/bl_ui/space_toolsystem_common.py
@@ -526,6 +526,7 @@ class ToolSelectPanelHelper:
draw_settings = item.draw_settings
if draw_settings is not None:
draw_settings(context, layout, tool)
+ return tool
# The purpose of this menu is to be a generic popup to select between tools