This commit is contained in:
Isaac Connor 2018-08-13 10:01:27 -04:00
parent 59b0160144
commit 1016096a00
1 changed files with 2 additions and 2 deletions

View File

@ -212,11 +212,11 @@ Image *StreamBase::prepareImage( Image *image ) {
Debug( 3, "Cropping to %d,%d -> %d,%d", last_crop.LoX(), last_crop.LoY(), last_crop.HiX(), last_crop.HiY() );
if ( !image_copied ) {
static Image copy_image;
copy_image.Assign( *image );
copy_image.Assign(*image);
image = &copy_image;
image_copied = true;
}
image->Crop( last_crop );
image->Crop(last_crop);
}
last_scale = scale;
last_zoom = zoom;