Gui: [skip ci] add x3d and xhtml format to export dialog

This commit is contained in:
wmayer
2020-09-07 16:27:21 +02:00
parent 49ea7ed8dd
commit eec776584e
2 changed files with 9 additions and 2 deletions

View File

@@ -583,8 +583,13 @@ PyObject* Application::sExport(PyObject * /*self*/, PyObject *args)
QFileInfo fi;
fi.setFile(fileName);
QString ext = fi.suffix().toLower();
if (ext == QLatin1String("iv") || ext == QLatin1String("wrl") ||
ext == QLatin1String("vrml") || ext == QLatin1String("wrz")) {
if (ext == QLatin1String("iv") ||
ext == QLatin1String("wrl") ||
ext == QLatin1String("vrml") ||
ext == QLatin1String("wrz") ||
ext == QLatin1String("x3d") ||
ext == QLatin1String("x3dz") ||
ext == QLatin1String("xhtml")) {
// build up the graph
SoSeparator* sep = new SoSeparator();