Removed some old code
This commit is contained in:
parent
853adf7d9d
commit
8e1ea4ac14
|
@ -51,7 +51,7 @@
|
|||
#include <Base/Stream.h>
|
||||
#include <Base/Placement.h>
|
||||
#include <Base/Rotation.h>
|
||||
#include <App/FeaturePythonPyImp.h>
|
||||
#include <App/FeaturePythonPyImp.h>
|
||||
|
||||
#include "PartFeature.h"
|
||||
#include "PartFeaturePy.h"
|
||||
|
@ -232,15 +232,6 @@ ShapeHistory Feature::joinHistory(const ShapeHistory& oldH, const ShapeHistory&
|
|||
return join;
|
||||
}
|
||||
|
||||
const TopoDS_Shape Feature::findOriginOf(const TopoDS_Shape& reference) {
|
||||
/* Base::Console().Error("Looking for origin of face in %s\n", this->getName());
|
||||
if (reference.ShapeType() == TopAbs_FACE) {
|
||||
// Find index of reference in the history
|
||||
}
|
||||
*/
|
||||
return TopoDS_Shape();
|
||||
}
|
||||
|
||||
/// returns the type name of the ViewProvider
|
||||
const char* Feature::getViewProviderName(void) const {
|
||||
return "PartGui::ViewProviderPart";
|
||||
|
|
|
@ -68,12 +68,6 @@ public:
|
|||
virtual PyObject* getPyObject(void);
|
||||
virtual std::vector<PyObject *> getPySubObjects(const std::vector<std::string>&) const;
|
||||
|
||||
/**
|
||||
* Find the origin of a reference, e.g. the vertex or edge in a sketch that
|
||||
* produced a face
|
||||
*/
|
||||
const TopoDS_Shape findOriginOf(const TopoDS_Shape& reference);
|
||||
|
||||
protected:
|
||||
void onChanged(const App::Property* prop);
|
||||
TopLoc_Location getLocation() const;
|
||||
|
|
Loading…
Reference in New Issue
Block a user