fix for python UI glitch, need to make view3d active_pchan & active_bone's (since they dont check layers atm)

This commit is contained in:
Campbell Barton 2009-11-16 10:10:29 +00:00
parent be07bb3cc3
commit d2ca3e5582

@ -1381,7 +1381,7 @@ class VIEW3D_PT_3dview_item(bpy.types.Panel):
bl_label = "Item"
def poll(self, context):
return (context.active_object or context.active_bone or context.active_pchan)
return (context.active_object and (context.active_bone or context.active_pchan))
def draw(self, context):
layout = self.layout