52236: TC7.3.0 Operation "Extrusion along a path" brings to wrong results if field "Rotation Angles" is used for calculation.

Fix setting angles in MakeExtrElements()
This commit is contained in:
eap 2013-12-06 15:55:21 +00:00
parent f22869c9cf
commit 21619a293e

View File

@ -5463,7 +5463,7 @@ SMESH_MeshEditor::MakeExtrElements(TIDSortedElemSet& theElements
for( ; itPP != fullList.end(); itPP++) { for( ; itPP != fullList.end(); itPP++) {
aPPs.push_back( *itPP ); aPPs.push_back( *itPP );
if ( theHasAngles && itAngles != theAngles.end() ) if ( theHasAngles && itAngles != theAngles.end() )
aPPs.back().SetAngle( *itAngles ); aPPs.back().SetAngle( *itAngles++ );
} }
TNodeOfNodeListMap mapNewNodes; TNodeOfNodeListMap mapNewNodes;