Fix: Hide empty panel in curves sculpt mode tool settings
This panel is empty after rB5b24291be1e0
This commit is contained in:
parent
74a5fb734a
commit
2f799f893e
|
@ -391,6 +391,11 @@ class VIEW3D_PT_tools_brush_settings_advanced(Panel, View3DPaintBrushPanel):
|
|||
bl_options = {'DEFAULT_CLOSED'}
|
||||
bl_ui_units_x = 14
|
||||
|
||||
@classmethod
|
||||
def poll(cls, context):
|
||||
mode = cls.get_brush_mode(context)
|
||||
return mode is not None and mode != 'SCULPT_CURVES'
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
|
|
Loading…
Reference in New Issue