Fix #23297: python error caused empty brush panel in the image editor.

This commit is contained in:
Brecht Van Lommel
2010-08-13 17:13:07 +00:00
parent 32792a58e3
commit ed36b00e36

View File

@@ -575,7 +575,7 @@ class IMAGE_PT_paint(bpy.types.Panel):
col = layout.split().column()
row = col.row()
col.template_ID_preview(toolsettings, "brush", new="brush.add", filter="is_imapaint_brush", rows=3, cols=8)
col.template_ID_preview(toolsettings, "brush", new="brush.add", rows=3, cols=8)
if brush:
col = layout.column()