diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-12-24 20:53:18 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-12-24 20:54:35 +0300 |
commit | be303589bcd0e3fa5de892ea63be5d392946a01a (patch) | |
tree | fcd96ade82bbcee42451603a668329f7578031fd /release/scripts | |
parent | 5cd1b530c8331f7e9cfc967285daa21c7d401957 (diff) |
Fix (unreported) do not show 'appearances' options tool panel in ParticleEdit mode (not supported).
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |