Fix: Set name in constructor
This commit is contained in:
parent
631dbdfa53
commit
1e24a2cc81
@ -6,6 +6,7 @@ XCLeafBrushNodeData::XCLeafBrushNodeData()
|
||||
, mLeaf(new XCLeafBrushNodeLeaf())
|
||||
, mChildren(new XCLeafBrushNodeChildren())
|
||||
{
|
||||
SetName("C Leaf Brush Node Data");
|
||||
}
|
||||
|
||||
XCLeafBrushNodeData::~XCLeafBrushNodeData()
|
||||
@ -13,7 +14,7 @@ XCLeafBrushNodeData::~XCLeafBrushNodeData()
|
||||
|
||||
}
|
||||
|
||||
void XCLeafBrushNodeData::ParseData(QDataStream *aStream) {
|
||||
void XCLeafBrushNodeData::ParseData(XDataStream *aStream) {
|
||||
if (GetPtr() == -1) {
|
||||
// We need to determine which part of the union to parse
|
||||
// For simplicity, we'll assume it's always leaf for now
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user