Fix for small error in r28348, was preventing texture influence panel from displaying

This commit is contained in:
Matt Ebb 2010-04-23 00:05:46 +00:00
parent 341d82657f
commit 7f635f2c91

@ -323,7 +323,7 @@ class TEXTURE_PT_influence(TextureSlotPanel):
if type(idblock) == bpy.types.Brush:
return False
if getattr(context, "texture_slot", None):
if not getattr(context, "texture_slot", None):
return False
engine = context.scene.render.engine