Commit bd5359f5 authored by wmayer's avatar wmayer
Browse files

Some little fixes

parent 1f51ebf8
......@@ -154,6 +154,7 @@ std::string FileInfo::getTempFileName(const char* FileName, const char* Path)
// this already creates the file
GetTempFileNameW(path.c_str(),file.c_str(),0,buf);
DeleteFileW(buf);
return std::string(ConvertFromWideString(std::wstring(buf)));
#else
......
......@@ -165,6 +165,8 @@ int SketchObject::solve()
for (std::vector<Part::Geometry *>::iterator it = geomlist.begin(); it != geomlist.end(); ++it)
if (*it) delete *it;
}
return err;
}
int SketchObject::setDatum(int ConstrId, double Datum)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment