Hi Niklas,
Am Freitag, 27. Mai 2016 22:15:57 UTC+2 schrieb Niklas Mischkulnig:
>
> Hi Thomas,
>
> yes, argv has size of 1 when opened via Finder
> and with your change it works perfectly in both cases.
> Great work! (Attached patch contains that and the color-change)
>
> Thanks for testing.
I did some more cleanup and committed the changes.
I added also a longer comment to the mac specific part, explaining it a
little bit.
Thomas
PS: You have a PM
> Niklas
>
>
> Am Freitag, 27. Mai 2016 16:57:34 UTC+2 schrieb T. Modes:
>>
>> Hi Niklas,
>>
>> Am Donnerstag, 26. Mai 2016 22:42:05 UTC+2 schrieb Niklas Mischkulnig:
>>>
>>> What does OSXStoreOpenFiles do? With this code added, MacOpenFiles
>>> never gets called,
>>>
>>
>> It should prevent the call to MacOpenFiles when we parsed all options
>> already in OnInit.
>> What command line options gets PTBatcherGUI when you open it in finder
>> with a project? Is it empty (except argv[0])?
>>
>> Does it works when we add an if(argc>1) like
>> #ifdef __WXMAC__
>> if(argc>1)
>> {
>> wxArrayString emptyFiles;
>> OSXStoreOpenFiles(emptyFiles);
>> }
>> #endif
>>
>> see also attached patch.
>>
>> 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/8319f81d-d557-42a5-ae14-0cbd144104e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.