diff --git a/src/Mod/TechDraw/App/Geometry.cpp b/src/Mod/TechDraw/App/Geometry.cpp index d6540062c7..ad1f9f0802 100644 --- a/src/Mod/TechDraw/App/Geometry.cpp +++ b/src/Mod/TechDraw/App/Geometry.cpp @@ -1460,10 +1460,10 @@ std::string Vertex::getTagAsString(void) const // throw Base::TypeError("Vertex tag can not be assigned as types do not match."); //} -void Vertex::dump() +void Vertex::dump(char* title) { - Base::Console().Message("TD::Vertex point: %s vis: %d cosmetic: %d cosLink: %d cosTag: %s\n", - DrawUtil::formatVector(pnt).c_str(), hlrVisible, cosmetic, cosmeticLink, + Base::Console().Message("TD::Vertex - %s - point: %s vis: %d cosmetic: %d cosLink: %d cosTag: %s\n", + title, DrawUtil::formatVector(pnt).c_str(), hlrVisible, cosmetic, cosmeticLink, cosmeticTag.c_str()); } diff --git a/src/Mod/TechDraw/App/Geometry.h b/src/Mod/TechDraw/App/Geometry.h index 5c86ee369e..00ad44fa46 100644 --- a/src/Mod/TechDraw/App/Geometry.h +++ b/src/Mod/TechDraw/App/Geometry.h @@ -301,7 +301,7 @@ class TechDrawExport Vertex virtual void Save(Base::Writer &/*writer*/) const; virtual void Restore(Base::XMLReader &/*reader*/); - virtual void dump(); + virtual void dump(char* title = ""); Base::Vector3d pnt; ExtractionType extractType; //obs?