From e36fc4f3afc8f7e8f557782d3b502a2830d4c426 Mon Sep 17 00:00:00 2001 From: EgguMan <100107293+EgguMan@users.noreply.github.com> Date: Sun, 21 Apr 2024 13:30:52 -0400 Subject: [PATCH] Obj fix --- away3d/loaders/parsers/OBJParser.hx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/away3d/loaders/parsers/OBJParser.hx b/away3d/loaders/parsers/OBJParser.hx index cb2efc3d..6a746dbb 100644 --- a/away3d/loaders/parsers/OBJParser.hx +++ b/away3d/loaders/parsers/OBJParser.hx @@ -237,9 +237,8 @@ class OBJParser extends ParserBase loadMtl(trunk[1]); case "g": createGroup(trunk); - case "o": - createObject(trunk); case "usemtl": + createObject(trunk); if (_mtlLib) { if (trunk[1] == "") trunk[1] = "def000";