mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 02:08:08 +02:00
This commit adds two new description parameters: - `validValue`, which is true if the value of the attribute is not erroneous (i.e. valid for the type of the attribute but invalid in the context of that specific attribute) and false otherwise. This holds a different significance than the "validateValue" method, which only checks if the parameter's value is expected with respect to the attribute's type. For example, we could want an IntParam that flags any value that is not even: an odd integer value would successfully go through the "validateValue" method, but would then be flagged as an invalid value at the attribute's level. - `errorMessage`, an attribute-specific string that contains a message explaining why the attribute's `validValue` parameter might be set to false. By default, all the attributes' values are valid, and they have no error message. |
||
---|---|---|
.. | ||
common | ||
core | ||
nodes | ||
pipelines | ||
submitters | ||
ui | ||
__init__.py | ||
multiview.py |