From c43c42d7031ad69ac6e9b2e5c37ac4bfc569b6b3 Mon Sep 17 00:00:00 2001 From: Martijn Versteegh Date: Sun, 24 Dec 2023 19:21:51 +0100 Subject: [PATCH] Node Wrangler: Skip internal attributes while populating the 'Shader Editor->Add->Input->Attributes' menu --- node_wrangler/interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/node_wrangler/interface.py b/node_wrangler/interface.py index f2ac3e8da..e28e947a7 100644 --- a/node_wrangler/interface.py +++ b/node_wrangler/interface.py @@ -361,7 +361,8 @@ class NWAttributeMenu(bpy.types.Menu): for obj in objs: if obj.data.attributes: for attr in obj.data.attributes: - attrs.append(attr.name) + if not attr.is_internal: + attrs.append(attr.name) attrs = list(set(attrs)) # get a unique list if attrs: -- 2.30.2