Salome HOME
Fix a bug of 'Extrusion Along a Path' : number of rotation angles should be 1 less...
authorvsr <vsr@opencascade.com>
Fri, 21 Jan 2005 08:42:11 +0000 (08:42 +0000)
committervsr <vsr@opencascade.com>
Fri, 21 Jan 2005 08:42:11 +0000 (08:42 +0000)
src/SMESH/SMESH_MeshEditor.cxx

index f6b3c05..d71d4ef 100644 (file)
@@ -2085,7 +2085,7 @@ SMESH_MeshEditor::Extrusion_Error
   
   if ( theHasAngles ) {
     aItD = theAngles.begin();
-    for ( j=0; (aItD != theAngles.end()) && (j<aNbTP); ++aItD, ++j ) {
+    for ( j=1; (aItD != theAngles.end()) && (j<aNbTP); ++aItD, ++j ) {
       aAngle = *aItD;
       aAngles[j] = aAngle;
     }