]> SALOME platform Git repositories - modules/shaper.git/commit
Salome HOME
Temporary fix, which will be corrected by MPV. Crash fix: Create circle, translation...
authornds <natalia.donis@opencascade.com>
Thu, 28 May 2015 15:59:09 +0000 (18:59 +0300)
committernds <natalia.donis@opencascade.com>
Thu, 28 May 2015 16:04:16 +0000 (19:04 +0300)
commit79b1a844d2efcc1b4c7acf43c27c97aa3accd8da
tree9a27f67202749e9f0980ff1f570fd999cf66eb4f
parent97a012867b87f3384918af3dff9245250979900d
Temporary fix, which will be corrected by MPV. Crash fix: Create circle, translation, Undo, Redo.

The reason is that SketchPlugin_Circle::execute() flushes redisplay on 1st result creation. SketcerPrs listen it and obtains all results in the references list. The 2nd result is not created yet and it leads to crash.
src/SketchPlugin/SketchPlugin_Circle.cpp
src/SketcherPrs/SketcherPrs_Mirror.cpp
src/SketcherPrs/SketcherPrs_Transformation.cpp