From 9d6d545938d2a06db4a50e0832cf7b6a07b02076 Mon Sep 17 00:00:00 2001 From: Sebastian Wahl Date: Mon, 22 May 2017 17:15:49 +0200 Subject: [PATCH] alpha_zero_special missing in some Image constructors --- src/image/image.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/image/image.hpp b/src/image/image.hpp index 3cea642f..ca0f7807 100644 --- a/src/image/image.hpp +++ b/src/image/image.hpp @@ -479,6 +479,7 @@ class Image { palette = other.palette; if (other.palette_image) palette_image = new Image(*other.palette_image); else palette_image = NULL; + alpha_zero_special = other.alpha_zero_special; frame_delay = other.frame_delay; col_begin = other.col_begin; col_end = other.col_end; @@ -596,6 +597,7 @@ class Image { #endif palette = other.palette; palette_image = other.palette_image; + alpha_zero_special = other.alpha_zero_special; frame_delay = other.frame_delay; // col_begin = other.col_begin; // not needed and meaningless after downsampling // col_end = other.col_end; @@ -640,6 +642,7 @@ class Image { #endif palette = other.palette; palette_image = other.palette_image; + alpha_zero_special = other.alpha_zero_special; frame_delay = other.frame_delay; col_begin = other.col_begin; col_end = other.col_end;