0001638: Not possible to draw anything.
This commit is contained in:
parent
7294271c0c
commit
e327662d28
|
@ -2005,6 +2005,10 @@ std::string Application::FindHomePath(const char* sCall)
|
|||
*i = '/';
|
||||
}
|
||||
|
||||
// fixes #0001638 to avoid to load DLLs from Windows' system directories before FreeCAD's bin folder
|
||||
std::string binPath = TempHomePath;
|
||||
binPath += "bin";
|
||||
SetDllDirectory(binPath.c_str());
|
||||
return TempHomePath;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user