Fix crash when unsetting import layer filename after using PNG or JPEG importers.
[synfig.git] / synfig-core / trunk / src / modules / mod_png / mptr_png.cpp
index 2a928a8..a0b021a 100644 (file)
@@ -6,6 +6,7 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2007 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -338,7 +339,6 @@ png_mptr::~png_mptr()
 bool
 png_mptr::get_frame(synfig::Surface &surface,Time, synfig::ProgressCallback */*cb*/)
 {
-       surface.mirror(surface_buffer);
-//     surface=surface_buffer;
+       surface=surface_buffer;
        return true;
 }