mirror of
https://github.com/photonstorm/phaser
synced 2024-11-23 05:03:37 +00:00
Fixed issue with scrolling on static tilemaps and not clearing path array on Flat Pipeline
This commit is contained in:
parent
00382bf059
commit
83b7d11f14
2 changed files with 4 additions and 2 deletions
|
@ -524,6 +524,8 @@ var FlatTintPipeline = new Class({
|
||||||
var mve = sre * cma + srf * cmc + cme;
|
var mve = sre * cma + srf * cmc + cme;
|
||||||
var mvf = sre * cmb + srf * cmd + cmf;
|
var mvf = sre * cmb + srf * cmd + cmf;
|
||||||
|
|
||||||
|
pathArray.length = 0;
|
||||||
|
|
||||||
for (var cmdIndex = 0, cmdLength = commands.length; cmdIndex < cmdLength; ++cmdIndex)
|
for (var cmdIndex = 0, cmdLength = commands.length; cmdIndex < cmdLength; ++cmdIndex)
|
||||||
{
|
{
|
||||||
cmd = commands[cmdIndex];
|
cmd = commands[cmdIndex];
|
||||||
|
|
|
@ -104,8 +104,8 @@ var TextureTintPipeline = new Class({
|
||||||
this.vertexBuffer = pipelineVertexBuffer;
|
this.vertexBuffer = pipelineVertexBuffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.viewMatrixDirty) this.viewIdentity();
|
this.viewIdentity();
|
||||||
if (this.modelMatrixDirty) this.modelIdentity();
|
this.modelIdentity();
|
||||||
},
|
},
|
||||||
|
|
||||||
drawEmitterManager: function (emitterManager, camera)
|
drawEmitterManager: function (emitterManager, camera)
|
||||||
|
|
Loading…
Reference in a new issue