]> SALOME platform Git repositories - modules/shaper.git/commit - src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp
Salome HOME
The validator shape_type is not used for the multi-selector and shape-selector control.
authornds <natalia.donis@opencascade.com>
Wed, 27 May 2015 07:51:38 +0000 (10:51 +0300)
committernds <natalia.donis@opencascade.com>
Wed, 27 May 2015 07:51:38 +0000 (10:51 +0300)
commitead20a0065c5c4552f3e02c7d6f304110dc0e4e6
tree3379e225edfa95d4857b8b39bb73681f0a1813e7
parentf91b976d2970c4f672692bfdce3b5d220699d869
The validator shape_type is not used for the multi-selector and shape-selector control.

The reason is an extrusion feature. It should accept Sketch selected in the browser, but the Shape filter with the "Face" type deny it.
So, temporary, the method acceptSubShape() is used instead of the custom validator mechanizm.
src/GeomValidators/GeomValidators_ShapeType.cpp
src/ModuleBase/ModuleBase_WidgetMultiSelector.cpp
src/ModuleBase/ModuleBase_WidgetMultiSelector.h
src/ModuleBase/ModuleBase_WidgetShapeSelector.cpp
src/ModuleBase/ModuleBase_WidgetShapeSelector.h
src/PartSet/PartSet_WidgetMultiSelector.cpp