mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-07-13 06:47:26 +02:00
[core] Update formatting with quotes for List and Group
If the joinChar is NOT space, we use global quotes. If the joinChar is space, we use quotes per element.
This commit is contained in:
parent
092dcfe722
commit
a35f1c72e2
2 changed files with 24 additions and 11 deletions
|
@ -64,9 +64,9 @@ def test_formatting_groups():
|
|||
n3 = graph.addNewNode('ImageProcessing')
|
||||
n3._buildCmdVars() # prepare vars for command line creation
|
||||
name = 'sharpenFilter'
|
||||
assert n3._cmdVars[name + 'Value'] == 'False:3:1.0:0.0'
|
||||
assert n3._cmdVars[name + 'Value'] == '"False:3:1.0:0.0"'
|
||||
name = 'fillHoles'
|
||||
assert n3._cmdVars[name + 'Value'] == 'False' # Booleans
|
||||
name = 'noiseFilter'
|
||||
assert n3._cmdVars[name + 'Value'] == 'False:"uniform":0.0:1.0:True'
|
||||
assert n3._cmdVars[name + 'Value'] == '"False:uniform:0.0:1.0:True"'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue