Some little fixes

This commit is contained in:
wmayer 2012-12-10 14:02:37 +01:00
parent 1f51ebf8cf
commit bd5359f542
3 changed files with 1809 additions and 323 deletions

View File

@ -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

View File

@ -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)