From 29c3fa645814c86e4e247e0e68c2d2726bf20e40 Mon Sep 17 00:00:00 2001 From: jriegel Date: Sun, 22 Sep 2013 22:44:11 +0200 Subject: [PATCH] small fixes --- src/App/Document.cpp | 2 +- src/App/PropertyLinks.cpp | 2 +- src/Mod/Mesh/App/Core/Trim.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/App/Document.cpp b/src/App/Document.cpp index 955c1f53cb..f5f96cd0ca 100644 --- a/src/App/Document.cpp +++ b/src/App/Document.cpp @@ -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() << "" << endl; + writer.Stream() << "" << endl; PropertyContainer::Save(writer); diff --git a/src/App/PropertyLinks.cpp b/src/App/PropertyLinks.cpp index 7cc729aee5..2d3926a5cc 100644 --- a/src/App/PropertyLinks.cpp +++ b/src/App/PropertyLinks.cpp @@ -558,7 +558,7 @@ PyObject *PropertyLinkSubList::getPyObject(void) #else Py::List sequence(count); #endif - for(int i = 0;igetPyObject()); std::string subItem; diff --git a/src/Mod/Mesh/App/Core/Trim.cpp b/src/Mod/Mesh/App/Core/Trim.cpp index 27a64c156a..57552829f2 100644 --- a/src/Mod/Mesh/App/Core/Trim.cpp +++ b/src/Mod/Mesh/App/Core/Trim.cpp @@ -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);