Cleanup: don't sub-class other registered classes

This complicates registration logic, ideally this would raise an
exception however detecting this at run-time is quite expensive.
This commit is contained in:
Campbell Barton
2025-02-13 10:43:12 +11:00
parent c7804568e7
commit d2e2cec94e

View File

@@ -679,7 +679,7 @@ class MESH_UL_color_attributes_selector(UIList, ColorAttributesListBase):
layout.prop(attribute, "name", text="", icon='GROUP_VCOL')
class DATA_PT_vertex_colors(DATA_PT_mesh_attributes, Panel):
class DATA_PT_vertex_colors(MeshButtonsPanel, Panel):
bl_label = "Color Attributes"
bl_options = {'DEFAULT_CLOSED'}
COMPAT_ENGINES = {