+ fix wrong template path for Raytracing/Lux project
This commit is contained in:
parent
3e1e5974f0
commit
d9b6007722
|
@ -54,7 +54,7 @@ LuxProject::LuxProject(void)
|
|||
void LuxProject::onDocumentRestored()
|
||||
{
|
||||
Base::FileInfo fi(PageResult.getValue());
|
||||
Template.setValue(App::Application::getResourceDir() + "Mod/Drawing/Templates/" + fi.fileName());
|
||||
Template.setValue(App::Application::getResourceDir() + "Mod/Raytracing/Templates/" + fi.fileName());
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn *LuxProject::execute(void)
|
||||
|
|
|
@ -53,7 +53,7 @@ RayProject::RayProject(void)
|
|||
void RayProject::onDocumentRestored()
|
||||
{
|
||||
Base::FileInfo fi(PageResult.getValue());
|
||||
Template.setValue(App::Application::getResourceDir() + "Mod/Drawing/Templates/" + fi.fileName());
|
||||
Template.setValue(App::Application::getResourceDir() + "Mod/Raytracing/Templates/" + fi.fileName());
|
||||
}
|
||||
|
||||
App::DocumentObjectExecReturn *RayProject::execute(void)
|
||||
|
|
Loading…
Reference in New Issue
Block a user