mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 02:08:08 +02:00
Merge pull request #2490 from alicevision/dev/attributeType
[core] Attribute: Directly access description's type in `getType()`
This commit is contained in:
commit
5df10583e2
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ class Attribute(BaseObject):
|
|||
return "{" + self.getFullNameToNode() + "}"
|
||||
|
||||
def getType(self):
|
||||
return self.attributeDesc.__class__.__name__
|
||||
return self.attributeDesc.type
|
||||
|
||||
def _isReadOnly(self):
|
||||
return not self._isOutput and self.node.isCompatibilityNode
|
||||
|
|
Loading…
Add table
Reference in a new issue