+ fix Placement of PartDesign/Fillet feature to the Placement of its base
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5289 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
@@ -41,5 +41,11 @@ DressUp::DressUp()
|
||||
ADD_PROPERTY(Base,(0));
|
||||
}
|
||||
|
||||
void DressUp::positionByBase(void)
|
||||
{
|
||||
Part::Feature *base = static_cast<Part::Feature*>(Base.getValue());
|
||||
if (base && base->getTypeId().isDerivedFrom(Part::Feature::getClassTypeId()))
|
||||
this->Placement.setValue(base->Placement.getValue());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user