X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fapp%2Fapp.cpp;h=b3b330036b5e2f0c855266c0219dee023a2eebee;hb=57d3e33b47c92d56de4007e23800d9bcdb353463;hp=22a3b586a1850a38d8ba11d45003754f3d05d05b;hpb=07b8335e7bfd631e0878e183c87238812d632c56;p=blank.git diff --git a/src/app/app.cpp b/src/app/app.cpp index 22a3b58..b3b3300 100644 --- a/src/app/app.cpp +++ b/src/app/app.cpp @@ -527,6 +527,8 @@ void AssetLoader::LoadModels( in.Skip(Token::EQUALS); if (prop_name == "root") { model.RootPart().Read(in, tex_index, shapes); + } else if (prop_name == "eyes") { + model.SetEyes(in.GetULong()); } else { while (in.HasMore() && in.Peek().type != Token::SEMICOLON) { in.Next();