From 60f35207d489cace92d5a8eeb4afbf05d7d12b6f Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Wed, 8 Mar 2023 11:41:18 -0500 Subject: [PATCH] Fix: Hide ".uv_seam" attribute in UI The attribute, like the other attributes that start with `.` is not supposed to be displayed in the spreadsheet or the attribute list by default. This was missing from the commit that added the attribute. --- source/blender/blenkernel/intern/attribute_access.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/blender/blenkernel/intern/attribute_access.cc b/source/blender/blenkernel/intern/attribute_access.cc index 2ba03b6d1cf..5996fd5f7ea 100644 --- a/source/blender/blenkernel/intern/attribute_access.cc +++ b/source/blender/blenkernel/intern/attribute_access.cc @@ -63,6 +63,9 @@ bool allow_procedural_attribute_access(StringRef attribute_name) if (attribute_name.startswith(".hide")) { return false; } + if (attribute_name.startswith(".uv")) { + return false; + } if (attribute_name.startswith("." UV_VERTSEL_NAME ".")) { return false; }