Salome HOME
projects
/
modules
/
geom.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
579fb21
)
Fix regression (SIGSEGV) caused by commit 935cd274
author
vsr
<vsr@opencascade.com>
Fri, 29 Sep 2017 09:06:30 +0000
(12:06 +0300)
committer
vsr
<vsr@opencascade.com>
Fri, 29 Sep 2017 09:06:30 +0000
(12:06 +0300)
src/GEOMGUI/GEOM_Displayer.cxx
patch
|
blob
|
history
diff --git
a/src/GEOMGUI/GEOM_Displayer.cxx
b/src/GEOMGUI/GEOM_Displayer.cxx
index 1b1c602cd8d29765c2b1d94a66b0eb5874cdb2ba..bd364b92cdc2a3b35c94865f44f1334136307382 100755
(executable)
--- a/
src/GEOMGUI/GEOM_Displayer.cxx
+++ b/
src/GEOMGUI/GEOM_Displayer.cxx
@@
-2977,6
+2977,7
@@
void GEOM_Displayer::UpdateColorScale()
foreach( SUIT_ViewWindow* window, windows )
{
OCCViewer_ViewWindow* occWindow = dynamic_cast<OCCViewer_ViewWindow*>( window );
+ if ( !occWindow ) continue;
if ( !occWindow->getViewManager() ) continue;
if ( !window->getViewManager() ) continue;
if ( !window->getViewManager()->getViewModel() ) continue;