1
0
Fork 0
mirror of synced 2024-05-26 23:59:39 +12:00

Fix undefined variable in convert_data.lua

This commit is contained in:
nagadomi 2015-11-16 13:44:49 +09:00
parent 7c9933865c
commit 620bd9c328

View file

@ -20,7 +20,7 @@ local function load_images(list)
else
im = iproc.crop_mod4(im)
local scale = 1.0
if settings.random_half then
if settings.random_half_rate > 0.0 then
scale = 2.0
end
if im then