}
ResultBodyPtr aResultBody = document()->createBody(data(), aResultIndex);
+ aResultBody->storeModified(aBaseShape, aRotationAlgo->shape());
FeaturesPlugin_Tools::loadModifiedShapes(aResultBody, aBaseShape, aRotationAlgo, "Rotated");
setResult(aResultBody, aResultIndex);
}
//==================================================================================================
GeomAlgoAPI_MakeShapeCustom::GeomAlgoAPI_MakeShapeCustom()
-{}
+{
+}
//==================================================================================================
void GeomAlgoAPI_MakeShapeCustom::setResult(const GeomShapePtr theShape)
{
if (!isValidForHistory(theNewShape)) return false;
GeomShapePtr aNewShape = theNewShape;
- fixOrientation(aNewShape);
return myModified.add(theOldShape, aNewShape);
}
{
if (!isValidForHistory(theNewShape)) return false;
GeomShapePtr aNewShape = theNewShape;
- fixOrientation(aNewShape);
return myGenerated.add(theOldShape, aNewShape);
}