Use dt.configuration.tmp_dir for the pto file

This commit is contained in:
supertobi
2015-09-10 14:40:52 +02:00
parent 91dada71e2
commit 343feb801b

View File

@@ -88,7 +88,7 @@ local function create_panorama(storage, image_table, extra_data) --finalize
local huginStartCommand
if (hugin_executor) then
huginStartCommand = "pto_gen "..img_list.." -o project.pto | hugin_executor --assistant project.pto"
huginStartCommand = "pto_gen "..img_list.." -o "..dt.configuration.tmp_dir.."/project.pto | hugin_executor --assistant "..dt.configuration.tmp_dir.."/project.pto"
else
huginStartCommand = "hugin "..img_list
end