From 5d48d6ef6a1b8707340383aabc67a738f5bf2a89 Mon Sep 17 00:00:00 2001 From: Jamie Allen Date: Mon, 27 Feb 2012 02:46:18 +0100 Subject: [PATCH] small fix - analysis and synthesis were writing to the same folder - better now --- src/AbstractAnalysis.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AbstractAnalysis.cpp b/src/AbstractAnalysis.cpp index a1e768c..ce273b7 100644 --- a/src/AbstractAnalysis.cpp +++ b/src/AbstractAnalysis.cpp @@ -155,7 +155,7 @@ void AbstractAnalysis::saveImageSynthesis(string filename, ofxCvImage* newPixels #ifdef TARGET_OSX - ofSaveImage(newPixels->getPixelsRef(), _whole_file_path_analysis+"/"+filename, OF_IMAGE_QUALITY_BEST); + ofSaveImage(newPixels->getPixelsRef(), _whole_file_path_synthesis+"/"+filename, OF_IMAGE_QUALITY_BEST); #elif defined(TARGET_WIN32) @@ -173,7 +173,7 @@ void AbstractAnalysis::saveImageSynthesis(string filename, ofxCvImage* newPixels #endif - _saved_filenames_synthesis.push_back(_whole_file_path_analysis+"/"+filename); + _saved_filenames_synthesis.push_back(_whole_file_path_synthesis+"/"+filename); }