PartDesign: Enable manual alignment tool for PartDesign features

This commit is contained in:
logari81
2012-12-09 12:04:10 +01:00
committed by wmayer
parent 1860d7de38
commit 85585cf49e
5 changed files with 27 additions and 3 deletions

View File

@@ -1016,9 +1016,7 @@ void ManualAlignment::alignObject(App::DocumentObject *obj)
{
if (obj->getTypeId().isDerivedFrom(App::GeoFeature::getClassTypeId())) {
App::GeoFeature* geom = static_cast<App::GeoFeature*>(obj);
Base::Placement plm = geom->Placement.getValue();
plm = this->myTransform * plm;
geom->Placement.setValue(plm);
geom->transformPlacement(this->myTransform);
}
}