Fix a compile error, OGRE_NEW only works for classes derived from AllocatedObject

pull/16/head
scrawl 12 years ago
parent 822f130f79
commit 96e3b3b7c2

@ -51,7 +51,7 @@ protected:
virtual void setValue(Ogre::Real value); virtual void setValue(Ogre::Real value);
}; };
struct AnimSource { struct AnimSource : public Ogre::AnimationAllocatedObject {
NifOgre::TextKeyMap mTextKeys; NifOgre::TextKeyMap mTextKeys;
std::vector<Ogre::Controller<Ogre::Real> > mControllers[sNumGroups]; std::vector<Ogre::Controller<Ogre::Real> > mControllers[sNumGroups];
}; };

Loading…
Cancel
Save