mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-14 17:46:58 +02:00
[core] attribute: new initValue, independant from the resetToDefaultValue
Avoid to evaluate the default value if we don't need to.
This commit is contained in:
parent
0c3426250a
commit
020dbecc68
6 changed files with 37 additions and 29 deletions
|
@ -24,7 +24,7 @@ def test_formatting_listOfFiles():
|
|||
n1.featuresFolders.extend("single value with space")
|
||||
assert n1.featuresFolders.getValueStr() == '"single value with space"'
|
||||
|
||||
n1.featuresFolders.resetValue()
|
||||
n1.featuresFolders.resetToDefaultValue()
|
||||
assert n1.featuresFolders.getValueStr() == ''
|
||||
|
||||
n1.featuresFolders.extend(inputImages)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue