Exception in AnimableValue


19-01-2009 09:02:47

I'm using Numeric Animation on a REAL and get an OgreUnImplementedException when updating the AnimationState

The Error message:

Traceback (most recent call last):
File "D:\progs\TortoiseTournament\src\StartTT.py", line 14, in <module>
File ".\tt\TTMain.py", line 128, in go
ogre.renderer.OGRE._ogre_exceptions_.OgreUnimplementedException: OGRE EXCEPTION(9:): in at c:\development\ogre\ogremain\include\OgreAnimable.h (line 146)

My AnimableValue class looks like this:

class PanelOverlayVValue(ogre.AnimableValue):
def __init__(self, object):
ogre.AnimableValue.__init__(self, self.REAL)
self.object = object

def setValue(self, v):
u = 0
u1, v1, u2, v2 = self.object.getUV(u,u,u,u)
self.object.setUV(u1, v, u2, v+0.25)

def applyDeltaValue(self, v):
u = 0
u1, v1, u2, v2 = self.object.getUV(u,u,u,u)
self.object.setUV(u1,v1+v,u2, v2+v)

def setCurrentStateAsBaseValue(self):
u = 0
u1, v1, u2, v2 = self.object.getUV(u,u,u,u)

It might be a problem or I'm missing something. Any suggestions?

btw.: AnyNumeric does not accept Vector4 as content which I think it should since AnimableValue supports it.