Fixed a bug in the AMF Importer Postprocessing where metadata would be

incorrectly recorded as having type bool for all entries.
pull/1071/head
Jared Mulconry 2016-11-19 02:07:32 +11:00
parent 235010d531
commit e4d43aa51a
1 changed files with 1 additions and 1 deletions

View File

@ -352,7 +352,7 @@ void AMFImporter::Postprocess_AddMetadata(const std::list<CAMFImporter_NodeEleme
for(const CAMFImporter_NodeElement_Metadata& metadata: pMetadataList) for(const CAMFImporter_NodeElement_Metadata& metadata: pMetadataList)
{ {
pSceneNode.mMetaData->Set(meta_idx++, metadata.Type, metadata.Value.c_str()); pSceneNode.mMetaData->Set(meta_idx++, metadata.Type, aiString(metadata.Value));
} }
}// if(pMetadataList.size() > 0) }// if(pMetadataList.size() > 0)
} }