Permalink
Browse files

Adapted AWD2Parser to latest specification draft, details:

Using short for numJoints in a skeleton block, instead of 32-bit int which
was previuosly the case.
  • Loading branch information...
1 parent 55e5e3b commit df9fde33a4ce3fb709f5b734a5d5999ae2c4b26e @richardolsson richardolsson committed Jun 6, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/away3d/loaders/parsers/AWD2Parser.as
@@ -435,7 +435,7 @@ package away3d.loaders.parsers
var skeleton : Skeleton;
name = parseVarStr();
- num_joints = _body.readUnsignedInt();
+ num_joints = _body.readUnsignedShort();
skeleton = new Skeleton();
// Discard properties for now

0 comments on commit df9fde3

Please sign in to comment.