From a8b3aeb578abb63883dd12e24949496c37540459 Mon Sep 17 00:00:00 2001 From: dmv Date: Fri, 7 Dec 2007 13:07:30 +0000 Subject: [PATCH] correct NPAL 16548 --- src/GEOMImpl/GEOMImpl_PrismDriver.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GEOMImpl/GEOMImpl_PrismDriver.cxx b/src/GEOMImpl/GEOMImpl_PrismDriver.cxx index 31ca722c5..11bb15ad6 100644 --- a/src/GEOMImpl/GEOMImpl_PrismDriver.cxx +++ b/src/GEOMImpl/GEOMImpl_PrismDriver.cxx @@ -94,7 +94,7 @@ Standard_Integer GEOMImpl_PrismDriver::Execute(TFunction_Logbook& log) const aV.Normalize(); if (aType == PRISM_BASE_VEC_H_2WAYS) { gp_Trsf aTrsf; - aTrsf.SetTranslation( -aV * aCI.GetH() ); + aTrsf.SetTranslation( (-aV) * aCI.GetH() ); BRepBuilderAPI_Transform aTransformation(aShapeBase, aTrsf, Standard_False); aShapeBase = aTransformation.Shape(); aCI.SetH( aCI.GetH()*2 ); -- 2.39.2