'userManagesMemory' Error when creating LerpPosInterval

Hello all,

When trying to setup a LerpPosInterval i got the following Error:
AssertionError
Exception exceptions.AttributeError:
‘userManagesMemory’" in ignored

I’m setting my intervall with the following command:
self.intervals.append(LerpPosInterval(model, duration, newPos, startPos,reference,
blendType,bakeInStart , fluid , IntervalName))

and the parameters have the following values:
Entity ->Enabl
model:
[NodePath at: 122386520]
render/DeviceSphinx
Interval Name:
TestPosInterval
Duration:
1
BakeInStart:
0
BlendType:
NoBlend
StartPos:
[Point3 at: 132295576]
0 0 0
NewPos:
[Point3 at: 122993368]
1 1 1
Fluid:
0

Do you have a hint about what is wrong with this declaration?

That is very strange. I think that particular error message can only be triggered when an object is trying to destruct. Is it possible something is not quite right with the way you are saving the interval? Can you create the same interval safely in other contexts?

David

Ok i found out the error. It was simply the case of the blendType parameter that was wrong. I was passing “NoBlend” instead of “noBlend”

My Bad :frowning:

Oh, OK. Still, you’d think it would give you a more useful error message than that. :slight_smile: I’ll take a look at fixing the error message.

David