mirror of https://github.com/axmolengine/axmol.git
CCSprite::createNode bug fix.
This commit is contained in:
parent
fc9880ab49
commit
d17fdfe3cc
|
@ -589,6 +589,7 @@ void Sprite3D::createNode(NodeData* nodedata, Node* root, const MaterialDatas& m
|
||||||
setScaleY(scale.y);
|
setScaleY(scale.y);
|
||||||
setScaleZ(scale.z);
|
setScaleZ(scale.z);
|
||||||
|
|
||||||
|
node = this;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue