awaytools / AwayBuilder

Other
71 stars 36 forks source link

Issue when assigning lightPicker to a material #241

Open SirGordon opened 10 years ago

SirGordon commented 10 years ago

Hello!

  1. Download and open this AWD file: http://r.playerio.com/r/moba-zpuzrjgvp0pk6vq9l6mfq/archer/archer_lightPicker_issue.awd
  2. Create animator and assign it to the mesh
  3. Assign existing lightPicker to the material Error :(

Note that if you first set the lightPicker and then animator, it works! This may be an away3d core issue, but it's easier to reproduce using Away Builder Thank you!

P.S.: another error is shown if using latest away3d core (dev branch) + latest away builder from github

SirGordon commented 10 years ago

Did anybody look into this? :(

80prozent commented 10 years ago

Yeah. Just had a look right now.

I can confirm, its a bug, but have no fix for it yet.

SirGordon commented 10 years ago

Ok, thank you! Just wanted a confirmation

80prozent commented 10 years ago

this is a bug in the away3d lib. with that latest away3d the error is: RangeError: Error #2006: The supplied index is out of bounds. thrown from this line: https://github.com/away3d/away3d-core-fp11/blob/dev/src/away3d/animators/SkeletonAnimator.as#L215

SirGordon commented 10 years ago

yup!

SirGordon commented 10 years ago

Oops wrong button