Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-05-09 16:42:19 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2010-05-09 16:42:19 +0400
commit1e30f000308debebf7cd5bbf6a9b37b8a94182de (patch)
treed6edeb35644fd1048d4b71d1f55ef1ab019bacef /source/blender/freestyle/intern/view_map/SteerableViewMap.cpp
parent8a20433f0fef5ab2d881d010cd5bd19fe484e555 (diff)
parent80f6671dfe64ece1e692c8032e1d1169621bceff (diff)
Merged changes in the trunk up to revision 28685.
Diffstat (limited to 'source/blender/freestyle/intern/view_map/SteerableViewMap.cpp')
-rwxr-xr-xsource/blender/freestyle/intern/view_map/SteerableViewMap.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/freestyle/intern/view_map/SteerableViewMap.cpp b/source/blender/freestyle/intern/view_map/SteerableViewMap.cpp
index 2c3a2cebadc..4c179d9ff02 100755
--- a/source/blender/freestyle/intern/view_map/SteerableViewMap.cpp
+++ b/source/blender/freestyle/intern/view_map/SteerableViewMap.cpp
@@ -33,7 +33,6 @@ using namespace Geometry;
extern "C" {
#include "IMB_imbuf.h"
#include "IMB_imbuf_types.h"
-#include "intern/IMB_png.h"
}
SteerableViewMap::SteerableViewMap(unsigned int nbOrientations){
@@ -241,8 +240,8 @@ void SteerableViewMap::saveSteerableViewMap() const {
//soc qtmp.save(base+QString::number(i)+"-"+QString::number(j)+".png", "PNG");
filename << base;
filename << i << "-" << j << ".png";
-
- imb_savepng(ibuf, const_cast<char *>(filename.str().c_str()), 0);
+ ibuf->ftype= PNG;
+ IMB_saveiff(ibuf, const_cast<char *>(filename.str().c_str()), IB_rect);
}
// QString base("SteerableViewMap");