git-svn-id: svn://db.shs.com.ru/libs@620 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -235,7 +235,7 @@ GLObjectBase * loadFromOBJFile(const QString & filepath, float scale) {
|
||||
normals << readVector3d(line.mid(2));
|
||||
continue;
|
||||
}
|
||||
if (line.startsWith("g ")) {
|
||||
if (line.startsWith("g ") || line.startsWith("o ")) {
|
||||
name = line.mid(1).trimmed();
|
||||
if (co != nullptr) {
|
||||
LoaderOBJ::initOBJMesh(co, vertices, normals, texcoords);
|
||||
|
||||
Reference in New Issue
Block a user