Salome HOME
Crash fix: // do not use the given selection if the plane of the sketch has been...
authornds <natalia.donis@opencascade.com>
Fri, 17 Apr 2015 15:26:05 +0000 (18:26 +0300)
committernds <natalia.donis@opencascade.com>
Fri, 17 Apr 2015 15:26:05 +0000 (18:26 +0300)
commita69429cf21301106c7bafe60786af0e23fef836c
tree3937628f9be6e71595f55dcd7009e5ea4823d264
parent4dec3bf0332d1d6352439dc475cb830bc81de704
Crash fix: // do not use the given selection if the plane of the sketch has been already set.

 // If this check is absent, a selected plane in the viewer can be set in the sketch
 // even if the sketch is built on another plane.
Scenario: show a plane, create sketch, call a line creation, select a plane in the browser(face is selected in the viewer), abort line creation. Result-modification data model outside the transaction. Reason - the sketch is resumed and the selected face is set as the sketch preselection.
src/PartSet/PartSet_WidgetSketchLabel.cpp
src/PartSet/PartSet_WidgetSketchLabel.h