From eb5fa18be7a8f48567a858a2a8704645addfd13e Mon Sep 17 00:00:00 2001 From: Nathan Sweet Date: Mon, 11 Sep 2017 22:03:35 +0200 Subject: [PATCH] Updated clipping demo. --- spine-ts/README.md | 5 +++-- spine-ts/webgl/demos/clipping.js | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/spine-ts/README.md b/spine-ts/README.md index bba830f7b..8d941d3be 100644 --- a/spine-ts/README.md +++ b/spine-ts/README.md @@ -71,10 +71,11 @@ The spine-ts WebGL demos load their image, atlas, and JSON files from our webser - [Meshes](http://rawgit.com/EsotericSoftware/spine-runtimes/3.6/spine-ts/webgl/demos/meshes.html) - [Skins](http://rawgit.com/EsotericSoftware/spine-runtimes/3.6/spine-ts/webgl/demos/skins.html) - [Hoverboard](http://rawgit.com/EsotericSoftware/spine-runtimes/3.6/spine-ts/webgl/demos/hoverboard.html) -- [Transform constraints](http://rawgit.com/EsotericSoftware/spine-runtimes/3.6/spine-ts/webgl/demos/transforms.html) -- [Tank](http://rawgit.com/EsotericSoftware/spine-runtimes/3.6/spine-ts/webgl/demos/tank.html) - [Vine](http://rawgit.com/EsotericSoftware/spine-runtimes/3.6/spine-ts/webgl/demos/vine.html) +- [Clipping](http://rawgit.com/EsotericSoftware/spine-runtimes/3.6/spine-ts/webgl/demos/clipping.html) - [Stretchyman](http://rawgit.com/EsotericSoftware/spine-runtimes/3.6/spine-ts/webgl/demos/stretchyman.html) +- [Tank](http://rawgit.com/EsotericSoftware/spine-runtimes/3.6/spine-ts/webgl/demos/tank.html) +- [Transform constraints](http://rawgit.com/EsotericSoftware/spine-runtimes/3.6/spine-ts/webgl/demos/transforms.html) Please note that Chrome and possibly other browsers do not use the original CORS headers when loading cached resources. After the initial page load for a demo, you may need to forcefully refresh (hold `shift` and click refresh) or clear your browser cache. diff --git a/spine-ts/webgl/demos/clipping.js b/spine-ts/webgl/demos/clipping.js index fa59388c4..55604db73 100644 --- a/spine-ts/webgl/demos/clipping.js +++ b/spine-ts/webgl/demos/clipping.js @@ -86,6 +86,7 @@ var clippingDemo = function(loadingComplete, bgColor) { } }; + renderer.skeletonDebugRenderer.drawRegionAttachments = false; renderer.skeletonDebugRenderer.drawClipping = false; renderer.skeletonDebugRenderer.drawBones = false; renderer.skeletonDebugRenderer.drawMeshHull = false;