Closed ptasev closed 4 years ago
Hmm... I couldn't reproduce that example as is.... it just works fine.
Could it be possible to see a larger example?
Hmm, I just did this in a new project and was able to get the error. I just learned that it only happens if the matrix is not identity.
var nbr = new NodeBuilder("Dummy1");
var nb = nbr.CreateNode("Dummy2");
nb.WorldMatrix = new Matrix4x4(1,0,0,0,0,1,0,0,0,0,-1,0,0,0,0,1);
var ttb = nb.UseTranslation().UseTrackBuilder("Default");
var rtb = nb.UseRotation().UseTrackBuilder("Default");
var stb = nb.UseScale().UseTrackBuilder("Default");
Indeed, it was doing an infinite recursive loop, I've just fixed it.
Thanks!
On the latest master there is an infinite recursion if you do the following resulting in a StackOverflowException.