bugfix [#23534] Custom Properties not showing in OBJECT panel

This commit is contained in:
Campbell Barton 2010-08-27 06:11:42 +00:00
parent 3912f55408
commit b0b787ef38
2 changed files with 2 additions and 2 deletions

@ -134,7 +134,7 @@ class PropertyPanel():
@classmethod
def poll(cls, context):
bool(eval("context.%s" % cls._context_path))
return bool(eval("context.%s" % cls._context_path))
def draw(self, context):
draw(self.layout, context, self._context_path)

@ -312,7 +312,7 @@ class OBJECT_PT_onion_skinning(OnionSkinButtonsPanel): #, bpy.types.Panel): # in
self.draw_settings(context, ob.animation_visualisation)
class OBJECT_PT_custom_props(ObjectButtonsPanel, PropertyPanel, bpy.types.Panel):
class OBJECT_PT_custom_props(bpy.types.Panel, PropertyPanel, ObjectButtonsPanel):
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
_context_path = "object"