Skip to content

Commit f26bd91

Browse files
committed
Disable Camera.cull because phaserjs#3679 excludes everything in view (and reverting it includes everything, so no point even culling atm)
1 parent 5313343 commit f26bd91

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/input/InputManager.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,17 +1122,18 @@ var InputManager = new Class({
11221122
pointer.worldX = tempPoint.x;
11231123
pointer.worldY = tempPoint.y;
11241124

1125-
var culledGameObjects = camera.cull(gameObjects);
1125+
// Disable until fixed.
1126+
// var culledGameObjects = camera.cull(gameObjects);
11261127

11271128
var point = { x: 0, y: 0 };
11281129

11291130
var res = this.game.config.resolution;
11301131

11311132
var matrix = this._tempMatrix;
11321133

1133-
for (var i = 0; i < culledGameObjects.length; i++)
1134+
for (var i = 0; i < gameObjects.length; i++)
11341135
{
1135-
var gameObject = culledGameObjects[i];
1136+
var gameObject = gameObjects[i];
11361137

11371138
if (!this.inputCandidate(gameObject))
11381139
{

0 commit comments

Comments
 (0)