File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Assets/Integrations/Autodesk/maya/scripts/unityOneClick Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -295,11 +295,11 @@ def doIt(self, args):
295
295
if maya .cmds .about (macOS = True ):
296
296
# Use 'open -a' to bring app to front if it has already been started.
297
297
# Note that the unity command will not get called.
298
- melCommand = r'system("open -a \"{0}\" --args -projectPath {1} -executeMethod {2}");' \
298
+ melCommand = r'system("open -a \"{0}\" --args -projectPath \" {1}\" -executeMethod {2}");' \
299
299
.format (unityAppPath , unityProjectPath , unityCommand )
300
300
301
301
elif maya .cmds .about (linux = True ):
302
- melCommand = r'system("\"{0}\" -projectPath {1} -executeMethod {2}");' \
302
+ melCommand = r'system("\"{0}\" -projectPath \" {1}\" -executeMethod {2}");' \
303
303
.format (unityAppPath , unityProjectPath , unityCommand )
304
304
305
305
elif maya .cmds .about (windows = True ):
You can’t perform that action at this time.
0 commit comments