Merge pull request #1957 from bixi/temp

Fix p2 BodyDebug pixelsPerLengthUnit bug.
This commit is contained in:
Richard Davey 2015-07-30 17:15:48 +01:00
commit 0bad5e4ab2

View file

@ -30,7 +30,7 @@ Phaser.Physics.P2.BodyDebug = function(game, body, settings) {
* @private
*/
var defaultSettings = {
pixelsPerLengthUnit: 20,
pixelsPerLengthUnit: game.physics.p2.mpx(1),
debugPolygons: false,
lineWidth: 1,
alpha: 0.5