[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28689] branches/soc-2008-mxcurioni/source /blender/freestyle/intern: Fixed the flags argument of IMB_saveiff calls.

Tamito Kajiyama rd6t-kjym at asahi-net.or.jp
Sun May 9 19:44:39 CEST 2010


Revision: 28689
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=28689
Author:   kjym3
Date:     2010-05-09 19:44:39 +0200 (Sun, 09 May 2010)

Log Message:
-----------
Fixed the flags argument of IMB_saveiff calls.

Modified Paths:
--------------
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/Canvas.cpp
    branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/SteerableViewMap.cpp

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/Canvas.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/Canvas.cpp	2010-05-09 17:18:57 UTC (rev 28688)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/stroke/Canvas.cpp	2010-05-09 17:44:39 UTC (rev 28689)
@@ -419,7 +419,7 @@
 	filename << base;
 	filename << i << ".bmp";	
 	qtmp->ftype= BMP;
-	IMB_saveiff(qtmp, const_cast<char *>(filename.str().c_str()), IB_rect);
+	IMB_saveiff(qtmp, const_cast<char *>(filename.str().c_str()), 0);
 	
   }
   //  QImage *qtmp = new QImage(w, h, 32);

Modified: branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/SteerableViewMap.cpp
===================================================================
--- branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/SteerableViewMap.cpp	2010-05-09 17:18:57 UTC (rev 28688)
+++ branches/soc-2008-mxcurioni/source/blender/freestyle/intern/view_map/SteerableViewMap.cpp	2010-05-09 17:44:39 UTC (rev 28689)
@@ -241,7 +241,7 @@
 	filename << base;
 	filename << i << "-" << j << ".png";
 	ibuf->ftype= PNG;
-	IMB_saveiff(ibuf, const_cast<char *>(filename.str().c_str()), IB_rect);
+	IMB_saveiff(ibuf, const_cast<char *>(filename.str().c_str()), 0);
 	
     }
     //    QString base("SteerableViewMap");





More information about the Bf-blender-cvs mailing list