Skip to content

Commit 353dba4

Browse files
committed
Added missing Target camera back, fixing Graphics.generateTexture in the process.
1 parent 55bcfd7 commit 353dba4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/gameobjects/graphics/Graphics.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
55
*/
66

7+
var Camera = require('../../cameras/2d/Camera.js');
78
var Class = require('../../utils/Class');
89
var Commands = require('./Commands');
910
var Components = require('../components');
@@ -1114,4 +1115,6 @@ var Graphics = new Class({
11141115

11151116
});
11161117

1118+
Graphics.TargetCamera = new Camera(0, 0, 0, 0);
1119+
11171120
module.exports = Graphics;

0 commit comments

Comments
 (0)