Fixed a bug in the AMF Importer Postprocessing where metadata would be
incorrectly recorded as having type bool for all entries.pull/1071/head
parent
235010d531
commit
e4d43aa51a
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue