PartDesign: Make Base Feature compatible with GeoFeatureGroup. fixes #0003080

The Original BaseFeature implementation had some serious issues with scoped links. It failed completely for e.g. sketches on the BaseFeature as it made a local link to refere to a out of body object. The only solution to make this work correctly is to add a proxy object into the body which is alloed to exactly that, to link outside oof the body. Something like shapebinder.
This commit is contained in:
Stefan Tröger
2017-09-16 15:47:07 +02:00
committed by wmayer
parent 30f930404c
commit de31528dda
15 changed files with 820 additions and 47 deletions

View File

@@ -62,6 +62,7 @@
#include "ViewProviderPipe.h"
#include "ViewProviderLoft.h"
#include "ViewProviderShapeBinder.h"
#include "ViewProviderBase.h"
// use a different name to CreateCommand()
void CreatePartDesignCommands(void);
@@ -154,6 +155,7 @@ PyMOD_INIT_FUNC(PartDesignGui)
PartDesignGui::ViewProviderPrimitive ::init();
PartDesignGui::ViewProviderPipe ::init();
PartDesignGui::ViewProviderLoft ::init();
PartDesignGui::ViewProviderBase ::init();
// add resources and reloads the translators
loadPartDesignResource();