diff -r e66f8552d4e7 src/hugin_cpfind/cpfind/PanoDetector.cpp --- a/src/hugin_cpfind/cpfind/PanoDetector.cpp Sun May 22 10:33:09 2011 +0200 +++ b/src/hugin_cpfind/cpfind/PanoDetector.cpp Sun May 22 09:18:32 2011 -0400 @@ -110,7 +110,7 @@ _kdTreeSearchSteps(200), _kdTreeSecondDistance(0.25), _ransacIters(1000), _ransacDistanceThres(50), _sieve2Width(5), _sieve2Height(5),_sieve2Size(1), _test(false), _cores(utils::getCPUCount()), _minimumMatches(6), _linearMatch(false), _linearMatchLen(1), _downscale(true), _cache(false), _cleanup(false), - _keypath(""), _outputFile("default.pto"), _celeste(false), _celesteThreshold(0.5), _celesteRadius(20), _multirow(false) + _keypath(""), _outputFile(""), _celeste(false), _celesteThreshold(0.5), _celesteRadius(20), _multirow(false) { _panoramaInfo = new Panorama(); } @@ -532,12 +532,16 @@ writeKeyfile(_filesData[_keyPointsIdx[i]]); }; } - else + if (_outputFile != "") { /// Write output project TRACE_INFO(endl<< "--- Write Project output ---" << endl); writeOutput(); TRACE_INFO("Written output to " << _outputFile << endl << endl); + } + else + { + TRACE_INFO(endl<< "--- No Project output file specified ---" << endl << endl); }; }