]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
correct NPAL 16548
authordmv <dmv@opencascade.com>
Fri, 7 Dec 2007 13:07:30 +0000 (13:07 +0000)
committerdmv <dmv@opencascade.com>
Fri, 7 Dec 2007 13:07:30 +0000 (13:07 +0000)
src/GEOMImpl/GEOMImpl_PrismDriver.cxx

index 31ca722c5e5f5a9447a8295090de00d1f4f33b2b..11bb15ad6418bd5ee07977c8e4f49020c33e556a 100644 (file)
@@ -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 );