+ for VRML and OpenInventor export only selection, fix whitespaces
This commit is contained in:
@@ -411,7 +411,7 @@ PyObject* Application::sExport(PyObject * /*self*/, PyObject *args,PyObject * /*
|
||||
}
|
||||
else {
|
||||
QString cmd = QString::fromLatin1(
|
||||
"Gui.getDocument(\"%1\").mdiViewsOfType('Gui::View3DInventor')[0].dump(\"%2\")"
|
||||
"Gui.getDocument(\"%1\").mdiViewsOfType('Gui::View3DInventor')[0].dumpSelection(\"%2\")"
|
||||
).arg(QLatin1String(doc->getName())).arg(fi.absoluteFilePath());
|
||||
Base::Interpreter().runString(cmd.toUtf8());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user