This fixes the following crash of ufraw by returning unique (and more detailed) Vignetting Model Descriptions:
terminate called after throwing an instance of 'UFException' what(): index '6th order polynomial' already exists Fixes: 0978a87 (Merge branch 'acm') Ticket: bug #55 (git-version of lensfun makes ufraw to crash) Signed-off-by: Hartmut Knaack <[email protected]> --- Actually introduced by the following patch: [PATCH 006/106] Added ACM vignetting model. It is not implemented, though. --- libs/lensfun/lens.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/lensfun/lens.cpp b/libs/lensfun/lens.cpp index 7a11584..5a86e07 100644 --- a/libs/lensfun/lens.cpp +++ b/libs/lensfun/lens.cpp @@ -547,7 +547,7 @@ const char *lfLens::GetVignettingModelDesc ( "Ref: http://hugin.sourceforge.net/tech/"; if (params) *params = param_pa; - return "6th order polynomial"; + return "6th order polynomial Pablo D'Angelo"; case LF_VIGNETTING_MODEL_ACM: if (details) @@ -557,7 +557,7 @@ const char *lfLens::GetVignettingModelDesc ( "Ref: http://download.macromedia.com/pub/labs/lensprofile_creator/lensprofile_creator_cameramodel.pdf"; if (params) *params = param_acm; - return "6th order polynomial"; + return "6th order polynomial Adobe"; default: // keep gcc 4.4 happy -- 2.8.3 ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports.http://sdm.link/zohodev2dev _______________________________________________ Lensfun-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lensfun-users
