Revision: 4511
          http://pd-gem.svn.sourceforge.net/pd-gem/?rev=4511&view=rev
Author:   zmoelnig
Date:     2011-08-28 13:30:27 +0000 (Sun, 28 Aug 2011)
Log Message:
-----------
initialize colorspace of output image, even if we can change plugins

Modified Paths:
--------------
    branches/0.93/Gem/src/Pixes/pix_frei0r.cpp

Modified: branches/0.93/Gem/src/Pixes/pix_frei0r.cpp
===================================================================
--- branches/0.93/Gem/src/Pixes/pix_frei0r.cpp  2011-08-28 12:59:55 UTC (rev 
4510)
+++ branches/0.93/Gem/src/Pixes/pix_frei0r.cpp  2011-08-28 13:30:27 UTC (rev 
4511)
@@ -363,9 +363,13 @@
   if(m_plugin) {
     delete m_plugin;
   }
+  m_plugin=NULL;
+  try {
+    m_plugin = new F0RPlugin(pluginname, getCanvas());
+  } catch (GemException&x) {
+    error("%s", x.what());
+  }
 
-  m_plugin = new F0RPlugin(pluginname, getCanvas());
-
   if(NULL==m_plugin) {
     error("unable to open '%s'", pluginname.c_str());
     return;

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


------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management 
Up to 160% more powerful than alternatives and 25% more efficient. 
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
pd-gem-CVS mailing list
pd-gem-CVS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pd-gem-cvs

Reply via email to