mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 08:25:03 -05:00
Guard null pointer
This commit is contained in:
1 parent
bd7f34f835
commit
6f6f77322b
1 file changed
+1
-1
@@ -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