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

incorrectly recorded as having type bool for all entries.
This commit is contained in:
Jared Mulconry
2016-11-19 02:07:32 +11:00
parent 235010d531
commit e4d43aa51a

View File

@@ -352,7 +352,7 @@ void AMFImporter::Postprocess_AddMetadata(const std::list<CAMFImporter_NodeEleme
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)
}