--- hugin-0.6.1/src/Panorama/PTOptimise.cpp +++ hugin-0.6.1/src/Panorama/PTOptimise.cpp @@ -36,9 +36,6 @@ #include #include -#define DEBUG_WRITE_OPTIM_OUTPUT -#define DEBUG_WRITE_OPTIM_OUTPUT_FILE "hugin_debug_optim_results.txt" - using namespace std; using namespace PT; using namespace PTools; @@ -132,13 +129,6 @@ void PTools::optimize(Panorama & pano, RunLMOptimizer( &opt ); ainf.data = opt.message; // get results from align info. -#ifdef DEBUG_WRITE_OPTIM_OUTPUT - fullPath path; - StringtoFullPath(&path, DEBUG_WRITE_OPTIM_OUTPUT_FILE ); - - ainf.data = opt.message; - WriteResults( script, &path, &ainf, distSquared, 0); -#endif pano.updateVariables(GetAlignInfoVariables(ainf) ); pano.updateCtrlPointErrors( GetAlignInfoCtrlPoints(ainf) ); }