Fix an assertion

actorid
scrawl 12 years ago
parent 61661c8653
commit fa5198d7b2

@ -73,7 +73,7 @@ Animation::~Animation()
void Animation::setObjectRoot(Ogre::SceneNode *node, const std::string &model, bool baseonly)
{
OgreAssert(mAnimSources.size() != 0, "Setting object root while animation sources are set!");
OgreAssert(mAnimSources.size() == 0, "Setting object root while animation sources are set!");
if(!mInsert)
mInsert = node->createChildSceneNode();

Loading…
Cancel
Save