[PD] fixes problem with the path for user-defined hole-cut-types
https://forum.freecadweb.org/viewtopic.php?f=19&t=51403&start=20#p482574
This commit is contained in:
@@ -2190,10 +2190,9 @@ void from_json(const nlohmann::json &j, Hole::CutDimensionSet &t)
|
||||
|
||||
void Hole::readCutDefinitions()
|
||||
{
|
||||
const char subpath[] = "Mod/PartDesign/Resources/Hole";
|
||||
std::vector<std::string> dirs {
|
||||
::App::Application::getResourceDir() + subpath,
|
||||
::App::Application::getUserAppDataDir() + subpath,
|
||||
::App::Application::getResourceDir() + "Mod/PartDesign/Resources/Hole",
|
||||
::App::Application::getUserAppDataDir() + "PartDesign/Hole"
|
||||
};
|
||||
|
||||
std::clog << "Looking for thread definitions in: ";
|
||||
|
||||
Reference in New Issue
Block a user