Fix: ParseData method implementation
This commit is contained in:
parent
48d7c3e692
commit
a8cee21ae8
@ -7,6 +7,7 @@ XCLeafBrushNode::XCLeafBrushNode()
|
|||||||
, mContents(0)
|
, mContents(0)
|
||||||
, mData()
|
, mData()
|
||||||
{
|
{
|
||||||
|
SetName("C Leaf Brush Node");
|
||||||
}
|
}
|
||||||
|
|
||||||
XCLeafBrushNode::~XCLeafBrushNode()
|
XCLeafBrushNode::~XCLeafBrushNode()
|
||||||
@ -14,12 +15,11 @@ XCLeafBrushNode::~XCLeafBrushNode()
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void XCLeafBrushNode::ParseData(QDataStream *aStream) {
|
void XCLeafBrushNode::ParseData(XDataStream *aStream) {
|
||||||
if (GetPtr() == -1) {
|
if (GetPtr() == -1) {
|
||||||
*aStream
|
mAxis = aStream->ParseUInt8(QString("%1 axis").arg(GetName()));
|
||||||
>> mAxis
|
mLeafBrushCount = aStream->ParseInt16(QString("%1 leaf brush count").arg(GetName()));
|
||||||
>> mLeafBrushCount
|
mContents = aStream->ParseInt32(QString("%1 contents").arg(GetName()));
|
||||||
>> mContents;
|
|
||||||
|
|
||||||
// Parse data
|
// Parse data
|
||||||
mData.ParseData(aStream);
|
mData.ParseData(aStream);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user