+ for VRML and OpenInventor export only selection, fix whitespaces

This commit is contained in:
wmayer
2015-05-17 13:53:22 +02:00
parent 2127ee46c3
commit 7c83638b40
7 changed files with 134 additions and 76 deletions

View File

@@ -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());
}