mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-12 01:30:34 +05:00
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:
parent
e2f67d5c21
commit
3f9592083e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user