* Remove updateTexture in SpritePart

This commit is contained in:
Antidote 2014-01-25 21:15:24 -08:00
parent ed9b7176a4
commit 9c64071bc0
2 changed files with 0 additions and 4 deletions

View File

@ -39,7 +39,6 @@ public:
void setRoot(Sprite* root); void setRoot(Sprite* root);
private: private:
void updateTexture();
Sprite* m_root; Sprite* m_root;
std::string m_name; std::string m_name;
bool m_hasCollision; bool m_hasCollision;

View File

@ -96,10 +96,7 @@ void SpritePart::setFrames(std::vector<SpriteFrame*> frames)
} }
if (!m_currentFrame) if (!m_currentFrame)
{
m_currentFrame = frames[0]; m_currentFrame = frames[0];
updateTexture();
}
m_frames = frames; m_frames = frames;
} }