mirror of https://github.com/axmolengine/axmol.git
Fix #24345
TMX Iso Zorder and TMX Ortho Zorder rendering error in TestCPP.
This commit is contained in:
parent
2251b52929
commit
2a806a82c6
|
@ -189,9 +189,7 @@ void TMXTiledMap::buildWithMapInfo(TMXMapInfo* mapInfo)
|
|||
idx++;
|
||||
continue;
|
||||
}
|
||||
addChild(child, 0, idx);
|
||||
child->setOrderOfArrival(idx);
|
||||
child->setTag(TMXLayerTag);
|
||||
addChild(child, idx, idx);
|
||||
// update content size with the max size
|
||||
const Size& childSize = child->getContentSize();
|
||||
Size currentSize = this->getContentSize();
|
||||
|
|
Loading…
Reference in New Issue