From 7bd7ed8dda3d68d58a4b68f65fce9b806dd31dbe Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 26 Sep 2013 18:47:25 +0200 Subject: [PATCH] + Remove unused method --- src/App/ComplexGeoData.h | 13 ------------- src/App/Document.cpp | 5 ++--- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/src/App/ComplexGeoData.h b/src/App/ComplexGeoData.h index 45e4c46ef..34977126f 100644 --- a/src/App/ComplexGeoData.h +++ b/src/App/ComplexGeoData.h @@ -153,12 +153,6 @@ protected: { return getTransform() * Base::Vector3d(vec.x,vec.y,vec.z); } - /// from local to outside - inline Base::Vector3d transformToOutside3d(const Base::Vector3d& vec) const - { - return getTransform() * vec; - } - /// from local to inside inline Base::Vector3f transformToInside(const Base::Vector3d& vec) const { @@ -167,13 +161,6 @@ protected: Base::Vector3d tmp = tmpM * vec; return Base::Vector3f((float)tmp.x,(float)tmp.y,(float)tmp.z); } - inline Base::Vector3d transformToInside3d(const Base::Vector3d& vec) const - { - Base::Matrix4D tmpM(getTransform()); - tmpM.inverse(); - return tmpM * vec; - } - }; } //namespace App diff --git a/src/App/Document.cpp b/src/App/Document.cpp index 6045106f3..e3da9fe4f 100644 --- a/src/App/Document.cpp +++ b/src/App/Document.cpp @@ -653,7 +653,6 @@ void Document::Save (Base::Writer &writer) const << " FreeCAD Document, see http://www.freecadweb.org for more information..." << endl << "-->" << endl; - //writer.Stream() << "" << endl; writer.Stream() << "& obj, Base::ZipWriter writer(out); writer.putNextEntry("Document.xml"); writer.Stream() << "" << endl; - //writer.Stream() << "" << endl; writer.Stream() << "" << endl; + << App::Application::Config()["BuildRevision"] + << "\" FileVersion=\"1\">" << endl; // Add this block to have the same layout as for normal documents writer.Stream() << "" << endl; writer.Stream() << "" << endl;