mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-16 16:25:20 +02:00
[core] Bypass validation on values for ChoiceParams
This commit is contained in:
parent
c27281c9c1
commit
eda320374b
2 changed files with 4 additions and 6 deletions
|
@ -410,7 +410,7 @@ class ChoiceParam(Attribute):
|
|||
|
||||
def conformValue(self, val):
|
||||
""" Conform 'val' to the correct type and check for its validity """
|
||||
return self.desc._valueType(val)
|
||||
return self.desc.conformValue(val)
|
||||
|
||||
def validateValue(self, value):
|
||||
if self.desc.exclusive:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue