diff --git a/wrap/io_trimesh/export_u3d.h b/wrap/io_trimesh/export_u3d.h index 74698c2e..f159db19 100644 --- a/wrap/io_trimesh/export_u3d.h +++ b/wrap/io_trimesh/export_u3d.h @@ -108,7 +108,11 @@ private: { QProcess p; QString convstring = par._converter_loc; + #if defined(Q_OS_WIN) convstring = "\""+convstring + "\" -en 1 -input \"" + par._input_file + "\" -output \"" + par._output_file +"\""; + #else + convstring = convstring + " -en 1 -input \"" + par._input_file + "\" -output \"" + par._output_file +"\""; + #endif qDebug("Starting converter %s", qPrintable(convstring)); p.setProcessChannelMode(QProcess::MergedChannels); p.start(convstring);