Remove not used attribute

pull/4029/head
Kim Kulling 2021-08-29 18:41:07 +02:00
parent c9d35b6edc
commit e2c2a60c45
3 changed files with 4 additions and 7 deletions

View File

@ -123,7 +123,7 @@ void D3MFImporter::InternReadFile(const std::string &filename, aiScene *pScene,
XmlParser xmlParser;
if (xmlParser.parse(opcPackage.RootStream())) {
XmlSerializer xmlSerializer(&xmlParser, &opcPackage);
XmlSerializer xmlSerializer(&xmlParser);
xmlSerializer.ImportXml(pScene);
const std::vector<aiTexture*> &tex = opcPackage.GetEmbeddedTextures();

View File

@ -193,13 +193,11 @@ void assignDiffuseColor(XmlNode &node, aiMaterial *mat) {
} // namespace
XmlSerializer::XmlSerializer(XmlParser *xmlParser, D3MFOpcPackage *archive) :
XmlSerializer::XmlSerializer(XmlParser *xmlParser) :
mResourcesDictionnary(),
mMeshCount(0),
mXmlParser(xmlParser),
mD3MFOpcPackage(archive) {
mXmlParser(xmlParser) {
ai_assert(nullptr != xmlParser);
ai_assert(nullptr != archive);
}
XmlSerializer::~XmlSerializer() {

View File

@ -60,7 +60,7 @@ class EmbeddedTexture;
class XmlSerializer {
public:
XmlSerializer(XmlParser *xmlParser, D3MFOpcPackage *archive);
XmlSerializer(XmlParser *xmlParser);
~XmlSerializer();
void ImportXml(aiScene *scene);
@ -90,7 +90,6 @@ private:
std::map<unsigned int, Resource *> mResourcesDictionnary;
unsigned int mMeshCount;
XmlParser *mXmlParser;
D3MFOpcPackage *mD3MFOpcPackage;
};
} // namespace D3MF