Revision: 2215
          http://synfig.svn.sourceforge.net/synfig/?rev=2215&view=rev
Author:   dooglus
Date:     2008-11-18 23:28:11 +0000 (Tue, 18 Nov 2008)

Log Message:
-----------
Several bugs in the tracker are related to crashes caused when exporting 
canvases.  I think this is caused by the way that exporting a canvas doesn't 
make a copy of the canvas.  Cloning non-inline canvases was disabled in 
canvas.cpp; this revision reenables it.  This shouldn't cause any problems, and 
will allow me to experiment with fixes for the crashing bugs.

Modified Paths:
--------------
    synfig-core/trunk/src/synfig/canvas.cpp

Modified: synfig-core/trunk/src/synfig/canvas.cpp
===================================================================
--- synfig-core/trunk/src/synfig/canvas.cpp     2008-11-18 23:27:52 UTC (rev 
2214)
+++ synfig-core/trunk/src/synfig/canvas.cpp     2008-11-18 23:28:11 UTC (rev 
2215)
@@ -52,6 +52,8 @@
 
 /* === M A C R O S ========================================================= */
 
+#define ALLOW_CLONE_NON_INLINE_CANVASES
+
 struct _CanvasCounter
 {
        static int counter;
@@ -781,7 +783,9 @@
        {
                name=get_id()+"_CLONE";
 
+#ifndef ALLOW_CLONE_NON_INLINE_CANVASES
                throw runtime_error("Cloning of non-inline canvases is not yet 
supported");
+#endif // ALLOW_CLONE_NON_INLINE_CANVASES
        }
 
        Handle canvas(new Canvas(name));


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to