Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dim and axiluary field added for hypothesis description
[modules/smesh.git]
/
src
/
SMESHFiltersSelection
/
SMESH_TypeFilter.cxx
diff --git
a/src/SMESHFiltersSelection/SMESH_TypeFilter.cxx
b/src/SMESHFiltersSelection/SMESH_TypeFilter.cxx
index 5e98287df5541ea4724d70b505dc72a3e64c321d..856131720ea3e0e23121babd15e85a04b3846df9 100644
(file)
--- a/
src/SMESHFiltersSelection/SMESH_TypeFilter.cxx
+++ b/
src/SMESHFiltersSelection/SMESH_TypeFilter.cxx
@@
-33,6
+33,9
@@
bool SMESH_TypeFilter::isOk (const SUIT_DataOwner* theDataOwner) const
_PTR(SObject) objFather = obj->GetFather();
_PTR(SComponent) objComponent = obj->GetFatherComponent();
_PTR(SObject) objFather = obj->GetFather();
_PTR(SComponent) objComponent = obj->GetFatherComponent();
+ if( objComponent->ComponentDataType()!="SMESH" )
+ return false;
+
int aLevel = obj->Depth() - objComponent->Depth();
// Max level under the component is 4:
int aLevel = obj->Depth() - objComponent->Depth();
// Max level under the component is 4: