forked from bartvdbraak/blender
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:
parent
be07bb3cc3
commit
d2ca3e5582
@ -1381,7 +1381,7 @@ class VIEW3D_PT_3dview_item(bpy.types.Panel):
|
|||||||
bl_label = "Item"
|
bl_label = "Item"
|
||||||
|
|
||||||
def poll(self, context):
|
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):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
Loading…
Reference in New Issue
Block a user