Skip to content

Commit

Permalink
fix bug in noScale
Browse files Browse the repository at this point in the history
bump 3.1 version
new build
  • Loading branch information
ivanpopelyshev committed Nov 8, 2016
1 parent aaea064 commit b5792f6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bin/pixi-spine.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/pixi-spine.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pixi-spine",
"version": "1.3.0",
"version": "1.3.1",
"description": "Spine implementation for pixi v^3 and v^4",
"author": "Mat Groves",
"contributors": [
Expand Down
4 changes: 2 additions & 2 deletions src/core/Bone.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@ module PIXI.spine.core {
m.c = za * lb + zb * ld;
m.b = zc * la + zd * lc;
m.d = zc * lb + zd * ld;
if ((this.data.transformMode != TransformMode.NoScaleOrReflection ? pa * pd - pb * pc < 0 : (this.skeleton.flipX != this.skeleton.flipY)) != Bone.yDown) {
m.b = -m.b;
if (this.data.transformMode != TransformMode.NoScaleOrReflection ? pa * pd - pb * pc < 0 : ((this.skeleton.flipX != this.skeleton.flipY) != Bone.yDown)) {
m.c = -m.c;
m.d = -m.d;
}
return;
Expand Down

0 comments on commit b5792f6

Please sign in to comment.