use ShapeBinder to create a copy from Origin feature

This commit is contained in:
wmayer
2019-06-15 15:43:29 +02:00
parent 18183bc79b
commit 5ea062f669
2 changed files with 19 additions and 3 deletions

View File

@@ -52,6 +52,7 @@ public:
App::PropertyBool TraceSupport;
static void getFilteredReferences(App::PropertyLinkSubList* prop, App::GeoFeature*& object, std::vector< std::string >& subobjects);
static Part::TopoShape buildShapeFromReferences(App::GeoFeature* obj, std::vector< std::string > subs);
const char* getViewProviderName(void) const {
return "PartDesignGui::ViewProviderShapeBinder";
@@ -65,7 +66,6 @@ protected:
private:
void slotChangedObject(const App::DocumentObject& Obj, const App::Property& Prop);
virtual void onSettingDocument();
static Part::TopoShape buildShapeFromReferences(App::GeoFeature* obj, std::vector< std::string > subs);
typedef boost::signals2::connection Connection;
Connection connectDocumentChangedObject;