mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T78186: Dyntopo panel error with tools that dont have a brush
Maniphest Tasks: T78186 Differential Revision: https://developer.blender.org/D8120
This commit is contained in:
parent
a994e7a4b9
commit
d80a95c2ee
1 changed files with 2 additions and 1 deletions
|
|
@ -799,7 +799,8 @@ class VIEW3D_PT_sculpt_dyntopo(Panel, View3DPaintPanel):
|
|||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
return (context.sculpt_object and context.tool_settings.sculpt)
|
||||
paint_settings = cls.paint_settings(context)
|
||||
return (context.sculpt_object and context.tool_settings.sculpt and paint_settings)
|
||||
|
||||
def draw_header(self, context):
|
||||
is_popover = self.is_popover
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue