Node Wrangler: Skip internal attributes while populating the 'Shader Editor->Add->Input->Attributes' menu #105084
@ -361,6 +361,7 @@ class NWAttributeMenu(bpy.types.Menu):
|
||||
for obj in objs:
|
||||
if obj.data.attributes:
|
||||
for attr in obj.data.attributes:
|
||||
if not attr.is_internal:
|
||||
attrs.append(attr.name)
|
||||
attrs = list(set(attrs)) # get a unique list
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user