bugfix [#23534] Custom Properties not showing in OBJECT panel
This commit is contained in:
		@@ -134,7 +134,7 @@ class PropertyPanel():
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    @classmethod
 | 
					    @classmethod
 | 
				
			||||||
    def poll(cls, context):
 | 
					    def poll(cls, context):
 | 
				
			||||||
        bool(eval("context.%s" % cls._context_path))
 | 
					        return bool(eval("context.%s" % cls._context_path))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def draw(self, context):
 | 
					    def draw(self, context):
 | 
				
			||||||
        draw(self.layout, context, self._context_path)
 | 
					        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)
 | 
					        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'}
 | 
					    COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
 | 
				
			||||||
    _context_path = "object"
 | 
					    _context_path = "object"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user