Merge pull request #1071 from jaredmulconry/master

AMF Postprocessed Metadata given type bool regardless of original type
pull/1074/head
Kim Kulling 2016-11-20 17:52:47 +01:00 committed by GitHub
commit eb6390a639
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)
{
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)
}