diff --git a/cocos/2d/CCSpriteFrame.cpp b/cocos/2d/CCSpriteFrame.cpp index 9ae9843817..809fcbac89 100644 --- a/cocos/2d/CCSpriteFrame.cpp +++ b/cocos/2d/CCSpriteFrame.cpp @@ -137,6 +137,7 @@ SpriteFrame* SpriteFrame::clone() const SpriteFrame *copy = new (std::nothrow) SpriteFrame(); copy->initWithTextureFilename(_textureFilename, _rectInPixels, _rotated, _offsetInPixels, _originalSizeInPixels); copy->setTexture(_texture); + copy->setPolygonInfo(_polygonInfo); copy->autorelease(); return copy; }