Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2177157
)
PAL7807
author
san
<san@opencascade.com>
Wed, 2 Feb 2005 05:11:20 +0000
(
05:11
+0000)
committer
san
<san@opencascade.com>
Wed, 2 Feb 2005 05:11:20 +0000
(
05:11
+0000)
src/SMESHGUI/SMESHGUI_Filter.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_Filter.cxx
b/src/SMESHGUI/SMESHGUI_Filter.cxx
index 08da7c92330c2b71942d566e0d7161b7ed55b567..52f36378b4bc3837f9e8f4f118fe6412de315238 100755
(executable)
--- a/
src/SMESHGUI/SMESHGUI_Filter.cxx
+++ b/
src/SMESHGUI/SMESHGUI_Filter.cxx
@@
-83,8
+83,8
@@
bool SMESHGUI_PredicateFilter::IsValid( const int theCellId ) const
if ( myActor == 0 || myPred->_is_nil() )
return false;
- SMESH_Actor* anActor =
( SMESH_Actor* )myActor
;
- if ( anActor->GetObject() == 0 )
+ SMESH_Actor* anActor =
dynamic_cast<SMESH_Actor*>( myActor )
;
+ if (
!anActor ||
anActor->GetObject() == 0 )
return false;
SMDS_Mesh* aMesh = anActor->GetObject()->GetMesh();