Skip to content

Commit

Permalink
fix region debug data draw in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
flyover committed Apr 5, 2016
1 parent a079ff1 commit 0e60f8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/render-ctx2d.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ RenderCtx2D.prototype.drawDebugData = function(spine_pose, atlas_data) {

switch (attachment.type) {
case 'region':
var bone = spine_pose.bones[slot.bone_key];
var bone = spine_pose.data.bones[slot.bone_key];
ctxApplySpace(ctx, bone.world_space);
ctxApplySpace(ctx, attachment.local_space);
ctxApplyAtlasSitePosition(ctx, site);
Expand Down

0 comments on commit 0e60f8e

Please sign in to comment.