[core] Add support for "3d" semantic

This commit is contained in:
Fabien Castan 2025-04-13 12:50:42 +02:00
parent e65dc09710
commit 38e82b926f

View file

@ -1565,6 +1565,8 @@ class BaseNode(BaseObject):
for attr in self._attributes:
if not attr.enabled or not attr.isOutput:
continue
if attr.desc.semantic == "3d":
return True
# If the attribute is a File attribute, it is an instance of str and can be iterated over
hasSupportedExt = isinstance(attr.value, str) and any(ext in attr.value for ext in supportedExts)
if hasSupportedExt: