[TechDraw] Remove deprecated replaceCosmeticVertex
This commit is contained in:
committed by
WandererFan
parent
7e230725b9
commit
a017cb41bc
@@ -113,6 +113,9 @@ protected:
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
||||
|
||||
//********** CosmeticEdge ******************************************************
|
||||
|
||||
class TechDrawExport CosmeticEdge : public Base::Persistence, public TechDraw::BaseGeom
|
||||
|
||||
@@ -152,14 +152,6 @@ void CosmeticExtension::removeCosmeticVertex(std::vector<std::string> delTags)
|
||||
}
|
||||
}
|
||||
|
||||
bool CosmeticExtension::replaceCosmeticVertex(CosmeticVertex* newCV)
|
||||
{
|
||||
(void) newCV;
|
||||
Base::Console().Message("CX::replaceCosmeticVertex() - deprecated. do not use.\n");
|
||||
bool result = false;
|
||||
return result;
|
||||
}
|
||||
|
||||
//********** Cosmetic Edge *****************************************************
|
||||
|
||||
//returns unique CE id
|
||||
|
||||
@@ -55,7 +55,6 @@ public:
|
||||
virtual CosmeticVertex* getCosmeticVertexBySelection(std::string name) const;
|
||||
virtual CosmeticVertex* getCosmeticVertexBySelection(int i) const;
|
||||
virtual CosmeticVertex* getCosmeticVertex(std::string id) const;
|
||||
virtual bool replaceCosmeticVertex(CosmeticVertex* newVertex);
|
||||
virtual void removeCosmeticVertex(std::string tag);
|
||||
virtual void removeCosmeticVertex(std::vector<std::string> delTags);
|
||||
|
||||
|
||||
@@ -43,11 +43,6 @@
|
||||
<UserDocu>cv = getCosmeticVertexBySelection(name) - returns CosmeticVertex with name (Vertex6). Used in selections.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="replaceCosmeticVertex">
|
||||
<Documentation>
|
||||
<UserDocu>rc = replaceCosmeticVertex(cv) - replaces CosmeticVertex in View. Returns True/False.</UserDocu>
|
||||
</Documentation>
|
||||
</Methode>
|
||||
<Methode Name="removeCosmeticVertex">
|
||||
<Documentation>
|
||||
<UserDocu>removeCosmeticVertex(cv) - remove CosmeticVertex from View. Returns None.</UserDocu>
|
||||
|
||||
@@ -275,14 +275,6 @@ PyObject* DrawViewPartPy::removeCosmeticVertex(PyObject *args)
|
||||
return Py_None;
|
||||
}
|
||||
|
||||
PyObject* DrawViewPartPy::replaceCosmeticVertex(PyObject *args)
|
||||
{
|
||||
(void) args;
|
||||
Base::Console().Message("DVPP::replaceCosmeticVertex() - deprecated. do not use.\n");
|
||||
return PyBool_FromLong(0l);
|
||||
|
||||
}
|
||||
|
||||
|
||||
//********* Cosmetic Line Routines *********************************************
|
||||
|
||||
|
||||
Reference in New Issue
Block a user