Removed some logging.

This commit is contained in:
Nick Winter 2014-07-10 17:35:52 -07:00
parent 80e7b7664e
commit 3d5cd29519

View file

@ -257,9 +257,6 @@ module.exports = class Mark extends CocoClass
updateRotation: -> updateRotation: ->
if @name is 'debug' or (@name is 'shadow' and @sprite.thang?.shape in ['rectangle', 'box']) if @name is 'debug' or (@name is 'shadow' and @sprite.thang?.shape in ['rectangle', 'box'])
rot = @sprite.thang.rotation * 180 / Math.PI
unless @mark.rotation is rot
console.log @toString(), "updating rotation", @name, @sprite.thang?.shape, @sprite.thang?.rotation, "to", rot, "from", @mark.rotation
@mark.rotation = @sprite.thang.rotation * 180 / Math.PI @mark.rotation = @sprite.thang.rotation * 180 / Math.PI
updateScale: -> updateScale: ->