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
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user