mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5418 Add picking on reservoir surfaces.
Added sorting of pick items based on tolerance and polygon offset unit.
This commit is contained in:
@@ -396,9 +396,12 @@ void RivSurfacePartMgr::generateNativePartGeometry()
|
||||
drawGeo->setVertexArray( cvfVertices.p() );
|
||||
drawGeo->computeNormals();
|
||||
|
||||
cvf::ref<RivObjectSourceInfo> objectSourceInfo = new RivObjectSourceInfo( m_surfaceInView );
|
||||
|
||||
m_nativeTrianglesPart = new cvf::Part();
|
||||
m_nativeTrianglesPart->setName( "Native Reservoir Surface" );
|
||||
m_nativeTrianglesPart->setDrawable( drawGeo.p() );
|
||||
m_nativeTrianglesPart->setSourceInfo( objectSourceInfo.p() );
|
||||
|
||||
m_nativeVertexToCellIndexMap.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user