Hi Holger,

I did tried the beta2 today.

I have proposed a patch on the Lua support to fix this wonderful
module. Still waiting to see if my patch is correct though :)

Also I found an issue with the location of the ".aligned" at creation
time. Fix in the attached patch.

Also tested with darktable master so I have added compatibility with
5.0.0 API.

Let me know if you have questions.

Thanks,
 
-- 
  Pascal Obry /  Magny Les Hameaux (78)

  The best way to travel is by means of imagination

  http://www.obry.net

  gpg --keyserver keys.gnupg.net --recv-key F949BD3B
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org
*** enfuse_pro.lua.orig	2017-03-09 19:21:59.000000000 +0100
--- enfuse_pro.lua	2017-03-16 19:12:22.671087295 +0100
***************
*** 36,42 ****
  local gettext = dt.gettext
  
  -- works only with darktable API version 4.0.0
! dt.configuration.check_version(...,{4,0,0})
  
  -- Tell gettext where to find the .mo file translating messages for a particular domain
  gettext.bindtextdomain("enfuse_pro",dt.configuration.config_dir.."/lua/")
--- 36,42 ----
  local gettext = dt.gettext
  
  -- works only with darktable API version 4.0.0
! dt.configuration.check_version(...,{4,0,0},{5,0,0})
  
  -- Tell gettext where to find the .mo file translating messages for a particular domain
  gettext.bindtextdomain("enfuse_pro",dt.configuration.config_dir.."/lua/")
***************
*** 1043,1049 ****
     end
     
      -- execute align_image_stack
!    alignStartCommand="align_image_stack " ..cmd_align_radial_distortion.." "..cmd_align_optimize_field.." "..cmd_align_optimize_center.." "..cmd_align_auto_crop.." "..cmd_align_distortion.." "..cmd_align_grid_size.." "..cmd_align_control_points.." "..cmd_align_control_points_remove.." "..cmd_align_correlation.." "..cmd_align_use_gpu.." -a .aligned_ "..images_to_align
     
     dt.print_error(alignStartCommand)
     resultalign=dt.control.execute(alignStartCommand)
--- 1043,1049 ----
     end
  
      -- execute align_image_stack
!    alignStartCommand="align_image_stack " ..cmd_align_radial_distortion.." "..cmd_align_optimize_field.." "..cmd_align_optimize_center.." "..cmd_align_auto_crop.." "..cmd_align_distortion.." "..cmd_align_grid_size.." "..cmd_align_control_points.." "..cmd_align_control_points_remove.." "..cmd_align_correlation.." "..cmd_align_use_gpu.." -a " ..homepath.."/.aligned_ "..images_to_align
  
     dt.print_error(alignStartCommand)
     resultalign=dt.control.execute(alignStartCommand)
***************
*** 1221,1224 ****
                          "set the output color depth",              -- tooltip
                          "16",                                      -- default
                          "8", "16","32","r32","r64")                -- values
-                         
\ No newline at end of file
--- 1221,1223 ----

Reply via email to