In the latest version:
SrcPanoImage's contructor doesn't take any arguments. There used to be a version of the constructor taking a filename:
Anyway, is there a technical reason why the construction from a filename was thrown out? It breaks woa, so I'd like to know, and I'd like to have it back if possible ;)
Kay -
You are asking the wrong newsgroup. It is preferable to
turn to the Vigra mailing list or to bug Uli directly.
SrcPanoImage's contructor doesn't take any arguments. There used to be a version of the constructor taking a filename:
SrcPanoImage(const std::string &filename) ...
This is gone now, and only the default constructor remains. How is one to make an SrcPanoImage from a file now? Probably some roundabout way like
Anyway, is there a technical reason why the construction from a filename was thrown out? It breaks woa, so I'd like to know, and I'd like to have it back if possible ;)
Am Freitag, 17. Januar 2014 08:06:16 UTC+1 schrieb kfj:SrcPanoImage's contructor doesn't take any arguments. There used to be a version of the constructor taking a filename:
SrcPanoImage(const std::string &filename) ...
This is gone now, and only the default constructor remains. How is one to make an SrcPanoImage from a file now? Probably some roundabout way like
Anyway, is there a technical reason why the construction from a filename was thrown out? It breaks woa, so I'd like to know, and I'd like to have it back if possible ;)The old version was too inflexible. It resulted in too much read access to the files. This has been reduced as much as currently possible (and will therefore not restored).
Depending on the exact use case there are now different ways:
HuginBase::SrcPanoImage srcImg;
srcImg.setFilename(filename);
Am Sonntag, 19. Januar 2014 um 04:36:32, schrieb kfj <_k...@yahoo.com>
> Grudingly, here's the patch. It also pulls all other plugins up to API
> level 2014.1, so that the Actions menu will show up. I've tested the
> plugins, they all run with this API version. In woa, I added code to
> reflect the loss of the SrcPanoImage coonstructor taking a filename.
>
> https://www.dropbox.com/s/3jlhyyoosnis1g7/hsi.2014.diff
>
> Kay
Applied. Compilation was OK. Tested woa ... works again. Thanks Kay,
I opt for commit. (And for not changing the API again)
Kornel