[Bf-blender-cvs] [c44bc3a83fe] refactor-mesh-material-index-generic: Fix old attribute collision warning

Hans Goudey noreply at git.blender.org
Sat Aug 27 07:05:24 CEST 2022


Commit: c44bc3a83fe95c495e9cff47da902aba9999f1b4
Author: Hans Goudey
Date:   Sat Aug 27 00:05:14 2022 -0500
Branches: refactor-mesh-material-index-generic
https://developer.blender.org/rBc44bc3a83fe95c495e9cff47da902aba9999f1b4

Fix old attribute collision warning

===================================================================

M	release/scripts/startup/bl_ui/properties_data_mesh.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py
index 8f2141ba6fc..686d455b6b4 100644
--- a/release/scripts/startup/bl_ui/properties_data_mesh.py
+++ b/release/scripts/startup/bl_ui/properties_data_mesh.py
@@ -580,7 +580,7 @@ class DATA_PT_mesh_attributes(MeshButtonsPanel, Panel):
         colliding_names = []
         for collection in (
                 # Built-in names.
-                {"position": None, "material_index": None, "shade_smooth": None, "normal": None, "crease": None},
+                {"position": None, "shade_smooth": None, "normal": None, "crease": None},
                 mesh.attributes,
                 mesh.uv_layers,
                 ob.vertex_groups,



More information about the Bf-blender-cvs mailing list