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
Correct compilation on Linux.
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_FilterValidated.cpp
diff --git
a/src/ModuleBase/ModuleBase_FilterValidated.cpp
b/src/ModuleBase/ModuleBase_FilterValidated.cpp
index 3fdb61e15506e7cc77360290ccfadba68b760c17..08314d734cc3cf2793e3e601ac6a9a53d891551d 100644
(file)
--- a/
src/ModuleBase/ModuleBase_FilterValidated.cpp
+++ b/
src/ModuleBase/ModuleBase_FilterValidated.cpp
@@
-1,6
+1,6
@@
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-// File: ModuleBase_FilterValidated.
h
+// File: ModuleBase_FilterValidated.
cpp
// Created: 17 Mar 2015
// Author: Natalia ERMOLAEVA
// Created: 17 Mar 2015
// Author: Natalia ERMOLAEVA
@@
-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);