Salome HOME
A fix for the bug: it is possible to apply extrusion even if the algorithm is failed...
authornds <natalia.donis@opencascade.com>
Wed, 20 May 2015 12:58:56 +0000 (15:58 +0300)
committernds <natalia.donis@opencascade.com>
Wed, 20 May 2015 12:58:56 +0000 (15:58 +0300)
commit5fa23443bcfd1271231762bd8c126dc88f0f794a
tree7e954d1aefbd4a132f78d79a95c3e3d563ab7b6a
parent4f3ea1843a6075ad925d50527c2242b7783753ef
A fix for the bug: it is possible to apply extrusion even if the algorithm is failed to build the result.

Scenario: create a sketch, create a part, visualize all default planes, create extrusion, select a sketch, in "to" control select a perpendicular plane. An error message appears but "Apply" is enabled.
This fix disables the "Apply" button.
src/ModuleBase/ModuleBase_Operation.cpp