X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fscenefile.c;h=92cdb1fefb464df045ef9ca45679c75c2a0f302a;hb=67b9bf8d28722bbc8c03c897c0a46d202286bd16;hp=8baf91aae482124c92d56d191daf40d0a61ffeee;hpb=6066118fc6a58b379f52b9aaaf45200b136812b9;p=vrlugburz diff --git a/src/scenefile.c b/src/scenefile.c index 8baf91a..92cdb1f 100644 --- a/src/scenefile.c +++ b/src/scenefile.c @@ -170,6 +170,7 @@ int load_scenefile(struct scenefile *scn, const char *fname) goto fail; } init_mesh(mesh); + mesh->name = strdup(cleanline(line + 2)); } break;