Make PartDesign::Boolean work with new Link structure
This is the first feature that used GeoFeatureGroupExtension and required links to the groups inside as well as to things on the same level. Hence a few modifications to link scopes have been nesseccary.
This commit is contained in:
@@ -25,13 +25,15 @@
|
||||
#define PARTGUI_ViewProviderBoolean_H
|
||||
|
||||
#include "ViewProvider.h"
|
||||
#include <Gui/ViewProviderGeoFeatureGroupExtension.h>
|
||||
|
||||
|
||||
namespace PartDesignGui {
|
||||
|
||||
class PartDesignGuiExport ViewProviderBoolean : public ViewProvider
|
||||
class PartDesignGuiExport ViewProviderBoolean : public ViewProvider,
|
||||
public Gui::ViewProviderGeoFeatureGroupExtension
|
||||
{
|
||||
PROPERTY_HEADER(PartDesignGui::ViewProviderBoolean);
|
||||
PROPERTY_HEADER_WITH_EXTENSIONS(PartDesignGui::ViewProviderBoolean);
|
||||
|
||||
public:
|
||||
/// constructor
|
||||
@@ -41,7 +43,6 @@ public:
|
||||
|
||||
/// grouping handling
|
||||
void setupContextMenu(QMenu*, QObject*, const char*);
|
||||
std::vector<App::DocumentObject*> claimChildren(void)const;
|
||||
|
||||
virtual bool onDelete(const std::vector<std::string> &);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user