From 1dfdaca5d3a4a44046bc5ff9e4c1be735517983b Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Wed, 3 Oct 2018 16:33:41 -0300 Subject: [PATCH] Raytracing: Fixed search locations of povray --- src/Mod/Raytracing/Gui/Command.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Mod/Raytracing/Gui/Command.cpp b/src/Mod/Raytracing/Gui/Command.cpp index afba18bdf2..f1baba1440 100644 --- a/src/Mod/Raytracing/Gui/Command.cpp +++ b/src/Mod/Raytracing/Gui/Command.cpp @@ -392,7 +392,11 @@ Gui::Action * CmdRaytracingNewPovrayProject::createAction(void) addTemplates(path); path = App::Application::getUserAppDataDir(); - path += "data/Mod/Raytracing/Templates/"; + path += "Mod/Raytracing/Templates/"; + addTemplates(path); + + path = App::Application::getUserAppDataDir(); + path += "Templates/"; addTemplates(path); _pcAction = pcAction;