mirror of
https://github.com/photonstorm/phaser
synced 2024-11-14 00:47:29 +00:00
Spine Plugin updated for Beta 6
This commit is contained in:
parent
e7245d11cc
commit
18d0d58cb5
4 changed files with 1310 additions and 4080 deletions
5376
plugins/spine/dist/SpinePluginDebug.js
vendored
5376
plugins/spine/dist/SpinePluginDebug.js
vendored
File diff suppressed because it is too large
Load diff
2
plugins/spine/dist/SpinePluginDebug.js.map
vendored
2
plugins/spine/dist/SpinePluginDebug.js.map
vendored
File diff suppressed because one or more lines are too long
|
@ -36,7 +36,7 @@ var SpineContainerWebGLRenderer = function (renderer, container, interpolationPe
|
|||
{
|
||||
sceneRenderer.end();
|
||||
|
||||
renderer.rebindPipeline();
|
||||
renderer.pipelines.rebind();
|
||||
}
|
||||
|
||||
return;
|
||||
|
@ -66,7 +66,7 @@ var SpineContainerWebGLRenderer = function (renderer, container, interpolationPe
|
|||
if (renderer.newType)
|
||||
{
|
||||
// flush + clear if this is a new type
|
||||
renderer.clearPipeline();
|
||||
renderer.pipelines.clear();
|
||||
|
||||
sceneRenderer.begin();
|
||||
}
|
||||
|
@ -161,7 +161,7 @@ var SpineContainerWebGLRenderer = function (renderer, container, interpolationPe
|
|||
sceneRenderer.end();
|
||||
|
||||
// And rebind the previous pipeline
|
||||
renderer.rebindPipeline();
|
||||
renderer.pipelines.rebind();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ var SpineGameObjectWebGLRenderer = function (renderer, src, interpolationPercent
|
|||
// The next object in the display list is not a Spine object, so we end the batch
|
||||
sceneRenderer.end();
|
||||
|
||||
renderer.rebindPipeline();
|
||||
renderer.pipelines.rebind();
|
||||
}
|
||||
|
||||
if (!renderer.finalType)
|
||||
|
@ -58,7 +58,7 @@ var SpineGameObjectWebGLRenderer = function (renderer, src, interpolationPercent
|
|||
if (renderer.newType)
|
||||
{
|
||||
// flush + clear previous pipeline if this is a new type
|
||||
renderer.clearPipeline();
|
||||
renderer.pipelines.clear();
|
||||
}
|
||||
|
||||
var camMatrix = renderer._tempMatrix1;
|
||||
|
@ -162,7 +162,7 @@ var SpineGameObjectWebGLRenderer = function (renderer, src, interpolationPercent
|
|||
sceneRenderer.end();
|
||||
|
||||
// And rebind the previous pipeline
|
||||
renderer.rebindPipeline();
|
||||
renderer.pipelines.rebind();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue