Hi Niklas, Am Donnerstag, 19. Mai 2016 19:03:47 UTC+2 schrieb Niklas Mischkulnig: > > if I open the file itself, it works fine. Via Hugin, it does get added > twice, though not exactly (see attachment). > Should I prepare a patch to open multiple files at once from finder? > Not before the problem with calling from Hugin is fixed. Maybe you can try to debug it on your side?
Why is stitchproject more difficult to fix (it would indeed make much more > sense than PTBatcherGUI)? > PTBatcherGUI is running all the time. So it's easier to react on the MacOpenFile. Hugin_stitch_project has all the logic to parse the project name and options in OnInit. When no project name is given it ask for the names. And at the end of OnInit all the parameter are feed to the window. This flow becomes disturbed when MacOpenFile is called *after* OnInit. And hugin_stitch_project is a one-shot-program. It runs only once and end then. So it becomes more difficult to implement the MacOpenFile correctly. Also I don't know how hugin_stitch_project works on MacOS when several instances are called. (PTBatcherGUI has code to handle this correctly. So only one instance of PTBatcherGUI is running and all other are passing their parameters to the one running instance.) What's the main point for you against PTBatcher (or why prefer you hugin_stitch_project)? Thomas -- A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ --- You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/hugin-ptx/c9a22e19-ae81-4272-8c88-7bd4bc2f8131%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
