bugfix [#23534] Custom Properties not showing in OBJECT panel
This commit is contained in:
parent
3912f55408
commit
b0b787ef38
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user