bendmorris / spinehaxe

Spine runtime for Haxe 3. Based on current AS3/libgdx runtimes.
Other
64 stars 28 forks source link

Fix drawOrder loading values #6

Closed fserb closed 9 years ago

fserb commented 9 years ago

Currently, the drawOrder loader completely misloads draworder changes (create a animation that changes the draworder and see for yourself). This happens because the original drawOrderValues is a list and (at least on my version of Haxe), the dynamic object from Json behaves as one and therefore the fields() function returns length and __s. Try to trace(drawOrderValue) to see what I mean.

bendmorris commented 9 years ago

You're right, thanks for catching that.