I have found my issue. It comes from a lack of understanding/knowledge regarding "self" in lua. To do what I intend the proper syntax should be either: images[2].group_with(images[2], images[1]) --must include itself as well as the image whose group to be added to images[2]:group_with(images[1]) --shorthand for including self as first parameter is to use colon instead of period
On Fri, Mar 1, 2019 at 2:01 PM Kevin Ertel <ker...@g.clemson.edu> wrote: > I am running dt2.6 on windows 10 > > On Fri, Mar 1, 2019 at 1:40 PM Kevin Ertel <ker...@g.clemson.edu> wrote: > >> Hello All, >> >> I am trying to understand the functionality of the .group_with() >> functionality provided under type dt_lua_image_t >> <https://www.darktable.org/lua-api/types_dt_lua_image_t.html> >> >> Lets say I have a table "images" which contains a bunch of dt_lua_image_t >> objects. How can I group one image with another? Performing the following >> does not seem to work: >> images[2].group_with(images[1]) >> >> If anyone can provide insight on the proper steps to take when adding one >> image into the group of another image I'd greatly appreciate it. >> >> Thanks >> > ___________________________________________________________________________ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org