Fix: Incorrect tool brush check for grease pencil vertex paint mode

This vertex paint code was just recently added in 942499382d, so the
property wasn't renamed correctly after b64bf66257 (which was created
earlier, just committed later).
This commit is contained in:
Julian Eisel
2024-09-16 13:08:52 +02:00
parent 806b0e8379
commit 7180df49dd

View File

@@ -569,7 +569,7 @@ class _draw_tool_settings_context_mode:
@staticmethod
def VERTEX_GREASE_PENCIL(context, layout, tool):
if (tool is None) or (not tool.has_datablock):
if (tool is None) or (not tool.use_brushes):
return False
tool_settings = context.tool_settings