Remove not used attribute
parent
c9d35b6edc
commit
e2c2a60c45
|
@ -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();
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue