Module: synfig
Branch: master
Commit: f8df1636f328f694a2b9c511e6c750ee57162dbe
URL:    
http://synfig.git.sourceforge.net/git/gitweb.cgi?p=synfig;a=commit;h=f8df1636f328f694a2b9c511e6c750ee57162dbe

Author: Carlos Lopez <car...@pcnuevo.(none)>
Date:   Mon Jun 15 22:48:25 2009 +0200

Remove assert(o) call because this function
is called when importing a SVG file using the png module
and the build is in debug mode.

---

 synfig-core/trunk/src/modules/mod_png/mptr_png.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 ffdc153..19f82f3 100644
--- a/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
+++ b/synfig-core/trunk/src/modules/mod_png/mptr_png.cpp
@@ -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;
 }


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to