From d2e2cec94ee04a6cf85067ebc68ca72facfb1ebe Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 13 Feb 2025 10:43:12 +1100 Subject: [PATCH] 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. --- scripts/startup/bl_ui/properties_data_mesh.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/startup/bl_ui/properties_data_mesh.py b/scripts/startup/bl_ui/properties_data_mesh.py index 758d9fbd0ce..37b639cbdf7 100644 --- a/scripts/startup/bl_ui/properties_data_mesh.py +++ b/scripts/startup/bl_ui/properties_data_mesh.py @@ -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 = {