We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f195a09 commit 325fb46Copy full SHA for 325fb46
1 file changed
src/renderer/webgl/pipelines/TextureTintPipeline.js
@@ -669,25 +669,6 @@ var TextureTintPipeline = new Class({
669
frameHeight *= -1;
670
}
671
672
- if (sprite.isCropped)
673
- {
674
- // Positions at the correct place, UVs also correct (when unflipped)
675
- // += (sourceSize w - frame width) / 2
676
- // tx0 += 125;
677
- // tx1 += 125;
678
- // tx2 += 125;
679
- // tx3 += 125;
680
-
681
- // += (sourceSize h - frame height) / 2
682
- // ty0 += 259;
683
- // ty1 += 259;
684
- // ty2 += 259;
685
- // ty3 += 259;
686
687
- // x += 125;
688
- // y += 259;
689
- }
690
691
var xw = x + frameWidth;
692
var yh = y + frameHeight;
693
0 commit comments