Brush Assets: Switch to a single "Brush" active tool #117491

Merged
Hans Goudey merged 11 commits from HooglyBoogly/blender:brush-assets-single-tool into brush-assets-project 2024-01-26 21:08:24 +01:00
1 changed files with 2 additions and 7 deletions
Showing only changes of commit f7488bab3b - Show all commits

View File

@ -496,13 +496,8 @@ class _draw_tool_settings_context_mode:
@staticmethod
def SCULPT_CURVES(context, layout, tool):
# if tool is None:
# print("tool is None")
# return False
# if not tool.has_datablock:
# print("not tool.has_datablock")
# return False
if (tool is None) or (not tool.has_datablock):
return False
tool_settings = context.tool_settings
paint = tool_settings.curves_sculpt