]> SALOME platform Git repositories - modules/geom.git/commit
Salome HOME
MPV: fix for nug IPAL13251
authormpv <mpv@opencascade.com>
Tue, 3 Oct 2006 08:52:10 +0000 (08:52 +0000)
committermpv <mpv@opencascade.com>
Tue, 3 Oct 2006 08:52:10 +0000 (08:52 +0000)
commite47799d70d8216a0703b0bb655ce7a4aadea7091
tree3e8080c4cb881b3ca57243aeb0e1fa58e9836a3f
parentf04efe4ef1789801c70616f0e4a98cdb5a11d49e
MPV: fix for nug IPAL13251
"Mandriva64 porting: SIGSEGV during partition"

myDS->Shape and myDS->GetShape methods is very dangerous to use in the equations like the next:

const TopoDS_Face& aFace = TopoDS::Faces(myDS->Shape(anIndex));

because this reference can be invalid after the next command execution:

myDS->InsertShapeAndAncestorsSuccessors(...)

This command some times deletes old shapes from internal array to make bigger array.
src/NMTTools/NMTTools_DEProcessor.cxx
src/NMTTools/NMTTools_PaveFiller_1.cxx
src/NMTTools/NMTTools_PaveFiller_4.cxx
src/NMTTools/NMTTools_PaveFiller_5.cxx
src/NMTTools/NMTTools_PaveFiller_6.cxx
src/NMTTools/NMTTools_PaveFiller_7.cxx