Salome HOME
Issue #1404 Random crash with Shaper. REDISPLAY is not flushed in deleteFeature....
authornds <nds@opencascade.com>
Fri, 15 Apr 2016 08:54:28 +0000 (11:54 +0300)
committernds <nds@opencascade.com>
Fri, 15 Apr 2016 09:11:01 +0000 (12:11 +0300)
commit388af8d735d040dd4861b8b2e6e0e7980b9feaa9
treea5dd41908d25abd1f2a9413f25c5728e38375b1e
parentc44cee9c2c5f83a58f172a47037a8d9035e29b94
Issue #1404 Random crash with Shaper. REDISPLAY is not flushed in deleteFeature. It improves the application performance. Problem case is "Delete" in Sketch: create a rectangle, a lenght, select a line, after a lenght(or with rectangle so, that the line is the first), call Delete action. Result: warning message(in Debug mode) about empty AIS(it's caused a crash).

Additionaly performance of fillet, mirror, rotation are improved by this modification.
src/Model/Model_Document.h
src/Model/Model_Objects.cpp
src/Model/Model_Update.cpp
src/Model/Model_Update.h
src/PartSet/PartSet_Module.cpp
src/PartSetPlugin/PartSetPlugin_Part.cpp
src/PartSetPlugin/PartSetPlugin_Remove.cpp
src/XGUI/XGUI_Workshop.cpp
src/XGUI/XGUI_Workshop.h