__idname__= "TEXTURE_PT_preview"
__label__ = "Preview"
+ def poll(self, context):
+ return (context.material or context.world or context.lamp or context.texture)
+
def draw(self, context):
layout = self.layout
tex = context.texture
__label__ = "Texture"
def poll(self, context):
- return (context.material or context.world or context.lamp)
+ return (context.material or context.world or context.lamp or context.texture)
def draw(self, context):
layout = self.layout