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
Coincidence to rectangle macro feature: 1. Get point of sub-feature to set coincidenc...
[modules/shaper.git]
/
src
/
ModuleBase
/
ModuleBase_Filter.cpp
diff --git
a/src/ModuleBase/ModuleBase_Filter.cpp
b/src/ModuleBase/ModuleBase_Filter.cpp
index 05056f31278fbeeb20c0482ea6c43583c9833077..c799ed47fee04187511a76b949f1ffb3fd040bac 100644
(file)
--- a/
src/ModuleBase/ModuleBase_Filter.cpp
+++ b/
src/ModuleBase/ModuleBase_Filter.cpp
@@
-4,13
+4,12
@@
// Created: 10 Dec 2014
// Author: Natalia ERMOLAEVA
// Created: 10 Dec 2014
// Author: Natalia ERMOLAEVA
-
#include "ModuleBase_Filter.h"
#include "ModuleBase_Filter.h"
-IMPLEMENT_STANDARD_HANDLE(ModuleBase_Filter, SelectMgr_Filter);
-IMPLEMENT_STANDARD_RTTIEXT(ModuleBase_Filter, SelectMgr_Filter);
-
-Standard_Boolean ModuleBase_Filter::IsOk(const Handle(SelectMgr_EntityOwner)& theOwner) const
+Handle(SelectMgr_Filter) ModuleBase_Filter::getFilter()
{
{
- return Standard_True;
+ if (myFilter.IsNull())
+ createFilter();
+
+ return myFilter;
}
}