From 343feb801bce7036e4a70267e546e5122d5739d2 Mon Sep 17 00:00:00 2001 From: supertobi Date: Thu, 10 Sep 2015 14:40:52 +0200 Subject: [PATCH] Use dt.configuration.tmp_dir for the pto file --- contrib/hugin.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/hugin.lua b/contrib/hugin.lua index 7165dc5..07ecba0 100644 --- a/contrib/hugin.lua +++ b/contrib/hugin.lua @@ -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