]> git.localhorst.tv Git - blank.git/blobdiff - src/app/app.cpp
moved common stated to shared dir
[blank.git] / src / app / app.cpp
index aba7093186853ba04a29fa64d1402506d1894cb3..35a3e3e8d37ada79dc8327160adfe1b4072838fa 100644 (file)
@@ -528,6 +528,8 @@ void AssetLoader::LoadModels(
                        in.Skip(Token::EQUALS);
                        if (prop_name == "root") {
                                model.RootPart().Read(in, tex_index, shapes);
+                       } else if (prop_name == "body") {
+                               model.SetBody(in.GetULong());
                        } else if (prop_name == "eyes") {
                                model.SetEyes(in.GetULong());
                        } else {