Skip to content
Snippets Groups Projects
Commit 89a19ba8 authored by Jan Möbius's avatar Jan Möbius
Browse files

Merge branch 'fix/crash-on-lines-file' into 'master'

Fix crash when loading file without supported geometry:

See merge request !7
parents 08e22515 e07b92d0
No related branches found
No related tags found
1 merge request!7Fix crash when loading file without supported geometry:
......@@ -1381,6 +1381,8 @@ void FileOBJPlugin::checkTypes(QByteArray& _bufferedFile, QString _filename, OBJ
int parentId = -1;
#endif
_importer.setObjectOptions(OBJImporter::NONE);
while( !input.atEnd())
{
line = input.readLine();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment