mirror of
https://github.com/photonstorm/phaser
synced 2024-11-25 06:00:41 +00:00
No need to vertically flip any longer. Fix #5428
This commit is contained in:
parent
166c333d13
commit
69a7d5f756
1 changed files with 4 additions and 1 deletions
|
@ -87,15 +87,18 @@ var SpineGameObjectWebGLRenderer = function (renderer, src, camera, parentMatrix
|
|||
}
|
||||
}
|
||||
|
||||
if (camera.renderToTexture || renderer.currentFramebuffer !== null)
|
||||
/*
|
||||
if (renderer.currentFramebuffer !== null)
|
||||
{
|
||||
skeleton.y = calcMatrix.ty;
|
||||
skeleton.scaleY *= -1;
|
||||
}
|
||||
*/
|
||||
|
||||
skeleton.updateWorldTransform();
|
||||
|
||||
// Draw the current skeleton
|
||||
|
||||
sceneRenderer.drawSkeleton(skeleton, src.preMultipliedAlpha);
|
||||
|
||||
if (container)
|
||||
|
|
Loading…
Reference in a new issue