X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_png%2Fmptr_png.cpp;h=19f82f35880b1edb0b9203134103fbfd1bb82d47;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=23aa9aa469ad6341e8c0692ff5d55bb895d64393;hpb=657023f1c16cba4b3908ef61f5ac0ce7f2969128;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp index 23aa9aa..19f82f3 100644 --- a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp +++ b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp @@ -388,7 +388,7 @@ png_mptr::png_mptr(const char *file_name) orig_height = height; trimmed_x = min_x; trimmed_y = min_y; - + width=max_x-min_x+1; height=max_y-min_y+1; synfig::Surface tmp_buffer; @@ -409,7 +409,7 @@ png_mptr::~png_mptr() bool png_mptr::get_frame(synfig::Surface &surface,Time, synfig::ProgressCallback */*cb*/) { - assert(0); // shouldn't be called? + //assert(0); // shouldn't be called? surface=surface_buffer; return true; }