3D model(pmd, mqo...) IO library using C++.
Revision | 27ebe6c5ea1b50b347ac66288ca8a292e5530cc7 (tree) |
---|---|
Time | 2012-03-07 23:53:44 |
Author | ousttrue <ousttrue@gmai...> |
Commiter | ousttrue |
fixed by @santarh
@@ -411,7 +411,7 @@ namespace meshio { | ||
411 | 411 | for(int i=0; i<10; ++i){ |
412 | 412 | char toon[100]; |
413 | 413 | sprintf(toon, "toon%02d.bmp", i+1); |
414 | - toon_textures[i]=toon; | |
414 | + toon_textures[i]=fixed_string<100>(std::string(toon));; | |
415 | 415 | } |
416 | 416 | } |
417 | 417 |