Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rectangle correction to have coincidence with point/line selected for the first point...
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_FilterValidated.cpp
diff --git
a/src/ModuleBase/ModuleBase_FilterValidated.cpp
b/src/ModuleBase/ModuleBase_FilterValidated.cpp
index a1b9bdb94e5c5ea7b180584410a95a904f43a5c0..08314d734cc3cf2793e3e601ac6a9a53d891551d 100644
(file)
--- a/
src/ModuleBase/ModuleBase_FilterValidated.cpp
+++ b/
src/ModuleBase/ModuleBase_FilterValidated.cpp
@@
-23,11
+23,11
@@
Standard_Boolean ModuleBase_FilterValidated::IsOk(const Handle(SelectMgr_EntityO
ModuleBase_Operation* anOperation = myWorkshop->module()->currentOperation();
if (anOperation) {
ModuleBase_IPropertyPanel* aPanel = anOperation->propertyPanel();
ModuleBase_Operation* anOperation = myWorkshop->module()->currentOperation();
if (anOperation) {
ModuleBase_IPropertyPanel* aPanel = anOperation->propertyPanel();
- ModuleBase_ModelWidget* a
nActiveWidget = aPanel->active
Widget();
- if (!a
nActive
Widget)
- a
nActiveWidget = aPanel->preselection
Widget();
+ ModuleBase_ModelWidget* a
CurrentWidget = aPanel->preselection
Widget();
+ if (!a
Current
Widget)
+ a
CurrentWidget = myWorkshop->module()->active
Widget();
ModuleBase_WidgetValidated* aWidgetValidated = dynamic_cast<ModuleBase_WidgetValidated*>
ModuleBase_WidgetValidated* aWidgetValidated = dynamic_cast<ModuleBase_WidgetValidated*>
- (a
nActive
Widget);
+ (a
Current
Widget);
ModuleBase_ViewerPrs aPrs;
myWorkshop->selection()->fillPresentation(aPrs, theOwner);
ModuleBase_ViewerPrs aPrs;
myWorkshop->selection()->fillPresentation(aPrs, theOwner);