Fix a bug of 'Extrusion Along a Path' : number of rotation angles should be 1 less than number of path points

This commit is contained in:
vsr 2005-01-21 08:42:11 +00:00
parent e2f67d5c21
commit 3f9592083e

View 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;
}