From ee4c68c757b0bcd192eec35e1d1c29f1d50700d7 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Fri, 9 Jan 2009 01:25:45 +0000 Subject: [PATCH] Well, this is heisentastic, and to top everything off it seems to always act like the size is 320x240 now, instead of what it used to do. Ack! git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@749 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/as/com/threerings/flash/CameraSnapshotter.as | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/as/com/threerings/flash/CameraSnapshotter.as b/src/as/com/threerings/flash/CameraSnapshotter.as index 1d785eeb..4192a73d 100644 --- a/src/as/com/threerings/flash/CameraSnapshotter.as +++ b/src/as/com/threerings/flash/CameraSnapshotter.as @@ -126,7 +126,12 @@ public class CameraSnapshotter extends Sprite // this code is specifically saying: "fuck up the scale", so if Adobe fixes their // bug in the future, this will cause broken behavior. _bitmap.bitmapData.draw(_video, - new Matrix(_camera.width / 160, 0, 0, _camera.height / 120)); + new Matrix(_camera.width / 320, 0, 0, _camera.height / 240)); +// com.threerings.util.Log.testing("Camera stuff", +// "camera.width", _camera.width, "camera.height", _camera.height, +// "video.width", _video.width, "video.height", _video.height, +// "videoWidth", _video.videoWidth, "videoHeight", _video.videoHeight, +// "bitmap.width", _bitmap.width, "bitmap.height", _bitmap.height); if (_video.parent != null) { removeChild(_video);