PartDesign: Enable manual alignment tool for PartDesign features
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user