mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-26 09:20:35 +05:00
Fix regression (SIGSEGV) caused by commit 935cd274
This commit is contained in:
parent
579fb21c33
commit
12d2cd28a6
@ -2977,6 +2977,7 @@ void GEOM_Displayer::UpdateColorScale()
|
|||||||
foreach( SUIT_ViewWindow* window, windows )
|
foreach( SUIT_ViewWindow* window, windows )
|
||||||
{
|
{
|
||||||
OCCViewer_ViewWindow* occWindow = dynamic_cast<OCCViewer_ViewWindow*>( window );
|
OCCViewer_ViewWindow* occWindow = dynamic_cast<OCCViewer_ViewWindow*>( window );
|
||||||
|
if ( !occWindow ) continue;
|
||||||
if ( !occWindow->getViewManager() ) continue;
|
if ( !occWindow->getViewManager() ) continue;
|
||||||
if ( !window->getViewManager() ) continue;
|
if ( !window->getViewManager() ) continue;
|
||||||
if ( !window->getViewManager()->getViewModel() ) continue;
|
if ( !window->getViewManager()->getViewModel() ) continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user