FBX File Import - Materials and texture map names now imported

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%4021
This commit is contained in:
kearwood
2012-03-28 21:58:55 +00:00
parent b7c8ae001b
commit d457991ed0
16 changed files with 262 additions and 54 deletions

View File

@@ -66,7 +66,8 @@ void KROBJPacker::pack(const char *szPath) {
out_file_name.append("/output/");
//out_file_name.append(pResource->GetFileBase(pResource->getName()));
out_file_name.append(pResource->getName());
out_file_name.append(".krobject");
out_file_name.append(".");
out_file_name.append(pResource->getExtension());
std::cout << "Writing " << out_file_name << " ... ";
if(pResource->save(out_file_name)) {
std::cout << " SUCCESS!\n";