yestaro / papervision3d

Automatically exported from code.google.com/p/papervision3d
0 stars 0 forks source link

DAE: scale animations not handled properly #252

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

scale animations are not handled properly if more than one channel
is animated at the same time

fix: at line 569 of DAE.as add:

------------------------------------------------------------------
  else if(channel)
  {
    for(j = 0; j < input.length; j++)
    {
      sc0.addKey(new LinearCurveKey3D(input[j], output[j][0]));
      sc1.addKey(new LinearCurveKey3D(input[j], output[j][1]));
      sc2.addKey(new LinearCurveKey3D(input[j], output[j][2]));
    }
  }
------------------------------------------------------------------

this comes after the
  else if(channel && channel.syntax.member == "Z")
  {...}
clause.

please can someone check in these changes.

thanks,
  --stefan--

Original issue reported on code.google.com by stefa...@gmx.at on 3 Feb 2010 at 6:40

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
This fixes bug 
http://papervision3d.758870.n4.nabble.com/Animated-Scale-in-DAE-td2013197.html 
which makes DAE animation with scalation currently useless. Please check-in 
this patch asap.

Thank you Stefan.

Original comment by rbl...@gmail.com on 8 Nov 2010 at 3:26