fixes #0004316: PartWB, "Reverse shapes" command reset position [skip ci]

This commit is contained in:
wmayer
2020-05-15 19:25:43 +02:00
parent e9baea434e
commit 34ebb0ecc4

View File

@@ -714,6 +714,7 @@ App::DocumentObjectExecReturn* Reverse::execute(void)
TopoDS_Shape myShape = source->Shape.getValue();
if (!myShape.IsNull())
this->Shape.setValue(myShape.Reversed());
this->Placement.setValue(source->Placement.getValue());
return App::DocumentObject::StdReturn;
}
catch (Standard_Failure & e) {