From be303589bcd0e3fa5de892ea63be5d392946a01a Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Thu, 24 Dec 2015 18:53:18 +0100 Subject: Fix (unreported) do not show 'appearances' options tool panel in ParticleEdit mode (not supported). --- release/scripts/startup/bl_ui/space_view3d_toolbar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release') diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index cf5e2daf0ce..3c3899d54cd 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1570,7 +1570,7 @@ class VIEW3D_PT_tools_brush_appearance(Panel, View3DPaintPanel): @classmethod def poll(cls, context): settings = cls.paint_settings(context) - return settings + return (settings is not None) and (not isinstance(settings, bpy.types.ParticleEdit)) def draw(self, context): layout = self.layout -- cgit v1.2.3