Fix for small error in r28348, was preventing texture influence panel from displaying
authorMatt Ebb <matt@mke3.net>
Fri, 23 Apr 2010 00:05:46 +0000 (00:05 +0000)
committerMatt Ebb <matt@mke3.net>
Fri, 23 Apr 2010 00:05:46 +0000 (00:05 +0000)
release/scripts/ui/properties_texture.py

index dc93bf446bde8199b25cd7ca1682a123aceecf9c..bbcac5a974f9430022d81a18709a64abc90a0ab3 100644 (file)
@@ -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