mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Guard null pointer
This commit is contained in:
@@ -1689,7 +1689,7 @@ void Rim3dView::updateScreenSpaceModel()
|
||||
|
||||
// Build annotation parts and put into screen space model
|
||||
cvf::Collection<cvf::Part> partCollection;
|
||||
m_viewer->currentScene()->allParts( &partCollection );
|
||||
if ( m_viewer->currentScene() ) m_viewer->currentScene()->allParts( &partCollection );
|
||||
|
||||
RivAnnotationTools annoTool;
|
||||
if ( m_useCustomAnnotationStrategy )
|
||||
|
||||
Reference in New Issue
Block a user