No need to vertically flip any longer. Fix #5428

This commit is contained in:
Richard Davey 2020-12-11 12:42:26 +00:00
parent 166c333d13
commit 69a7d5f756

View file

@ -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)