Sketcher/Part: Grid - Architecture
================================== - Move all grid specific code out of ViewProviderSketch and EditModeCoinManager. - The code in made into a new extension in Part - ViewProviderGridExtension - ViewProviderSketch starts deriving from this new extension - ViewProviderSketch configures the extension according to its Grid preferences - Grid code refactored to remove hardcoded sketcher preference parameters. - ViewProviderGridExtension handles property name/type changes within its competence.
This commit is contained in:
committed by
abdullahtahiriyo
parent
3381d91b82
commit
d586ea6238
@@ -50,6 +50,7 @@
|
||||
#include "ViewProvider.h"
|
||||
#include "ViewProvider2DObject.h"
|
||||
#include "ViewProviderAttachExtension.h"
|
||||
#include "ViewProviderGridExtension.h"
|
||||
#include "ViewProviderBoolean.h"
|
||||
#include "ViewProviderBox.h"
|
||||
#include "ViewProviderCircleParametric.h"
|
||||
@@ -155,6 +156,8 @@ PyMOD_INIT_FUNC(PartGui)
|
||||
PartGui::SoFCControlPoints ::initClass();
|
||||
PartGui::ViewProviderAttachExtension ::init();
|
||||
PartGui::ViewProviderAttachExtensionPython ::init();
|
||||
PartGui::ViewProviderGridExtension ::init();
|
||||
PartGui::ViewProviderGridExtensionPython ::init();
|
||||
PartGui::ViewProviderSplineExtension ::init();
|
||||
PartGui::ViewProviderSplineExtensionPython ::init();
|
||||
PartGui::ViewProviderPartExt ::init();
|
||||
|
||||
Reference in New Issue
Block a user