projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove .gitignore do nothing is ignored.
[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
23aa9aa
..
19f82f3
100644
(file)
--- 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;
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;
@@
-409,7
+409,7
@@
png_mptr::~png_mptr()
bool
png_mptr::get_frame(synfig::Surface &surface,Time, synfig::ProgressCallback */*cb*/)
{
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;
}
surface=surface_buffer;
return true;
}