projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't push back any onion skin queue unless onionskin boolean is set to true.
[synfig.git]
/
synfig-core
/
trunk
/
src
/
modules
/
mod_png
/
mptr_png.cpp
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
641ee82
..
ffdc153
100644
(file)
--- a/
synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
+++ b/
synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
@@
-301,7
+301,6
@@
png_mptr::png_mptr(const char *file_name)
break;
case PNG_COLOR_TYPE_PALETTE:
break;
case PNG_COLOR_TYPE_PALETTE:
- synfig::warning("png_mptr: Paletted PNGs aren't yet fully supported.");
for(y=0;y<height;y++)
for(x=0;x<width;x++)
{
for(y=0;y<height;y++)
for(x=0;x<width;x++)
{
@@
-389,7
+388,7
@@
png_mptr::png_mptr(const char *file_name)
orig_height = height;
trimmed_x = min_x;
trimmed_y = min_y;
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;
width=max_x-min_x+1;
height=max_y-min_y+1;
synfig::Surface tmp_buffer;