Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2021-09-29 12:01:17 +0300
committerJacques Lucke <jacques@blender.org>2021-09-29 12:01:17 +0300
commiteabb1348409012547b1220a80c08163d7c29afaa (patch)
treeb32b9eaf50a40648ad2d65a56a5da5767aa61aa5 /release
parent24a965bb16c22e33752dfb6c22105b96a8649aeb (diff)
Fix T91802: vertex color layer name collides with itself
Vertex colors are already included in `mesh.attributes`. So they don't have to be added to the collision checks separately.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/properties_data_mesh.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py
index d9ad094ac4f..ba5ecd1efde 100644
--- a/release/scripts/startup/bl_ui/properties_data_mesh.py
+++ b/release/scripts/startup/bl_ui/properties_data_mesh.py
@@ -639,7 +639,6 @@ class DATA_PT_mesh_attributes(MeshButtonsPanel, Panel):
add_attributes(mesh.attributes)
add_attributes(mesh.uv_layers)
- add_attributes(mesh.vertex_colors)
add_attributes(ob.vertex_groups)
colliding_names = [name for name, layers in attributes_by_name.items() if len(layers) >= 2]