X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Ftrunk%2Fsrc%2Fmodules%2Fmod_gif%2Ftrgt_gif.cpp;h=2239e3049df48d402012a7ab7b5eb9c41a37ef20;hb=63e709f66d50c124cc0ece2325f4773ac4ae7b20;hp=6b939af6586c7c505cb32b13c8f9fb39718e2141;hpb=dd3cfb8a9541bcd485836b75bc47ef032d0e65dc;p=synfig.git diff --git a/synfig-core/trunk/src/modules/mod_gif/trgt_gif.cpp b/synfig-core/trunk/src/modules/mod_gif/trgt_gif.cpp index 6b939af..2239e30 100644 --- a/synfig-core/trunk/src/modules/mod_gif/trgt_gif.cpp +++ b/synfig-core/trunk/src/modules/mod_gif/trgt_gif.cpp @@ -135,18 +135,14 @@ gif::init() fputc(0,file.get()); // background color fputc(0,file.get()); // Pixel Aspect Ratio - DEBUGPOINT(); - if(!local_palette) { - DEBUGPOINT(); curr_palette=Palette::grayscale(256/(1<<(8-rootsize))-1); output_curr_palette(); } if(loop_count && multi_image) { - DEBUGPOINT(); fputc(33,file.get()); // 33 (hex 0x21) GIF Extension code fputc(255,file.get()); // 255 (hex 0xFF) Application Extension Label fputc(11,file.get()); // 11 (hex (0x0B) Length of Application Block @@ -157,7 +153,6 @@ gif::init() fputc((loop_count&0x0000ff00)>>8,file.get()); fputc(0,file.get()); // 0 (hex 0x00) a Data Sub-block Terminator. } - DEBUGPOINT(); return true; }