Comment 2 for bug 678665

Revision history for this message
Pablo d'Angelo (pablo.dangelo) wrote :

Logged In: YES
user_id=30308
Originator: NO

Fixed in SVN. the Ippei branch does not have this problem.

However, there is another place with a similar problem, the project filenames of the autopano call are also very predictable.
This is also fixed in the ippei branch/new trunk.
Do we need to release a new 0.6.1 version?

Here is the patch for the other remaining issue:

--- AutoCtrlPointCreator.cpp_orig 2007-10-24 14:41:16.000000000 +0200
+++ AutoCtrlPointCreator.cpp 2007-10-24 14:44:07.000000000 +0200
@@ -225,7 +225,7 @@
        }
 #endif

- wxString ptofile(wxT("autopano_result_tempfile.pto"));
+ wxString ptofile = wxFileName::CreateTempFileName(wxT("ap_res"));
     autopanoArgs.Replace(wxT("%o"), ptofile);
     wxString tmp;
     tmp.Printf(wxT("%d"), nFeatures);
@@ -415,7 +415,7 @@
         imgNr++;
     }

- wxString ptofile(wxT("autopano_result_tempfile"));
+ wxString ptofile = wxFileName::CreateTempFileName(wxT("ap_res"));
     autopanoArgs.Replace(wxT("%o"), ptofile);
     wxString tmp;
     tmp.Printf(wxT("%d"), nFeatures);