diegogarciahuerta / tk-blender

:milk_glass: Shotgun Toolkit Engine for Blender: https://www.blender.org/
Other
44 stars 33 forks source link

Fix injecting argument to the command #11

Open aboellinger opened 2 years ago

aboellinger commented 2 years ago

Problem

Injection of the -P flag into the command to be run would only work if the args value was an empty string.

By the way, adding a blank space at the end of the arguments string in SG does not work because whitespaces get trimmed.

Solution

Simply add a whitespace before the -P argument (like with tk-harmony's -debug flag)

aboellinger commented 2 years ago

Note that this small patch is probably irrelevant if #9 is accepted.