Fix comments on PR
1) Use default instead of empty destructor 2) Remove debug codepull/4632/head
parent
3e424f8119
commit
684909a691
|
@ -1622,11 +1622,7 @@ void ColladaParser::ReadIndexData(XmlNode &node, Mesh &pMesh) {
|
||||||
throw DeadlyImportError("Expected more values while reading <vcount> contents.");
|
throw DeadlyImportError("Expected more values while reading <vcount> contents.");
|
||||||
}
|
}
|
||||||
// read a number
|
// read a number
|
||||||
size_t valueRead = (size_t)strtoul10(content, &content);
|
vcount.push_back((size_t)strtoul10(content, &content));
|
||||||
if(valueRead == 0) {
|
|
||||||
printf("wohoo");
|
|
||||||
}
|
|
||||||
vcount.push_back(valueRead);
|
|
||||||
// skip whitespace after it
|
// skip whitespace after it
|
||||||
SkipSpacesAndLineEnd(&content);
|
SkipSpacesAndLineEnd(&content);
|
||||||
}
|
}
|
||||||
|
|
|
@ -358,9 +358,7 @@ namespace pmx
|
||||||
public:
|
public:
|
||||||
void virtual Read(std::istream *stream, PmxSetting *setting) = 0;
|
void virtual Read(std::istream *stream, PmxSetting *setting) = 0;
|
||||||
|
|
||||||
virtual ~PmxMorphOffset() {
|
virtual ~PmxMorphOffset() = default;
|
||||||
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class PmxMorphVertexOffset : public PmxMorphOffset
|
class PmxMorphVertexOffset : public PmxMorphOffset
|
||||||
|
|
Loading…
Reference in New Issue