Some little fixes
This commit is contained in:
@@ -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
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 63 KiB |
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user