Fix (unreported) do not show 'appearances' options tool panel in ParticleEdit mode (not supported).

This commit is contained in:
Bastien Montagne 2015-12-24 18:53:18 +01:00
parent 5cd1b530c8
commit be303589bc
1 changed files with 1 additions and 1 deletions

View File

@ -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