lua-scripts icon indicating copy to clipboard operation
lua-scripts copied to clipboard

Add darktable constants

Open wpferguson opened this issue 2 years ago • 1 comments

https://github.com/darktable-org/darktable/pull/14259 changes the representation of an invalid GPS coordinate from NaN to DT_INVALID_GPS_COORDINATE. DT_INVALID_GPS_COORDINATE is -FLT_MAX which is a C definition. This is all a part of replacing NaN use in darktable.

For a start I could create a constants library with the appropriate definitions and values that could be included as needed.

wpferguson avatar Apr 25 '23 00:04 wpferguson

Depends on https://github.com/darktable-org/darktable/pull/14259

wpferguson avatar Jul 17 '23 21:07 wpferguson