Attacher: split Attacher3d and AttacherPlane

Even though they share all the functionality now, I split them, to allow
independent user-friendly mode names.
This commit is contained in:
DeepSOIC
2016-04-20 01:44:25 +03:00
parent c765ac5d11
commit f7b1b0416c
3 changed files with 37 additions and 9 deletions

View File

@@ -40,7 +40,7 @@ PROPERTY_SOURCE(PartDesign::Plane, Part::Datum)
Plane::Plane()
{
this->setAttacher(new AttachEngine3D);
this->setAttacher(new AttachEnginePlane);
// Create a shape, which will be used by the Sketcher. Them main function is to avoid a dependency of
// Sketcher on the PartDesign module
BRepBuilderAPI_MakeFace builder(gp_Pln(gp_Pnt(0,0,0), gp_Dir(0,0,1)));