[kovarex] [1.1.0] on_pre_build flip_horizontal/vertical are ints, not boolean
Posted: Wed Nov 25, 2020 12:54 am
The flip_horizontal and flip_vertical fields of the on_pre_build event are documented as being boolean true/false, but in fact are Lua numbers 0 and 1. This is a problem since in Lua 0 is truthy, so does not behave as expected.
Code: Select all
if ev.flip_horizontal then ... end