small fixes

This commit is contained in:
jriegel
2013-09-22 22:44:11 +02:00
parent 0738ced074
commit 29c3fa6458
3 changed files with 3 additions and 3 deletions

View File

@@ -653,7 +653,7 @@ void Document::Save (Base::Writer &writer) const
<< " FreeCAD Document, see http://www.freecadweb.org for more information..." << endl
<< "-->" << endl;
writer.Stream() << "<Document SchemaVersion=\"4\">" << endl;
writer.Stream() << "<Document SchemaVersion=\"5\">" << endl;
PropertyContainer::Save(writer);

View File

@@ -558,7 +558,7 @@ PyObject *PropertyLinkSubList::getPyObject(void)
#else
Py::List sequence(count);
#endif
for(int i = 0;i<count; i++){
for(unsigned int i = 0;i<count; i++){
Py::Tuple tup(2);
tup[0] = Py::Object(_lValueList[i]->getPyObject());
std::string subItem;

View File

@@ -157,7 +157,7 @@ bool MeshTrimming::PolygonContainsCompleteFacet(bool bInner, unsigned long ulInd
bool MeshTrimming::IsPolygonPointInFacet(unsigned long ulIndex, Base::Vector3f& clPoint)
{
Base::Vector2D A, B, C, P;
float u,v,w, fDetPAC, fDetPBC, fDetPAB, fDetABC;
double u,v,w, fDetPAC, fDetPBC, fDetPAB, fDetABC;
Base::Polygon2D clFacPoly;
const MeshGeomFacet &rclFacet = myMesh.GetFacet(ulIndex);