mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5285 Fix missing calculation of normals on reservoir surfaces
This commit is contained in:
@@ -91,6 +91,7 @@ void RivSurfacePartMgr::generateNativePartGeometry()
|
||||
cvf::ref<cvf::DrawableGeo> drawGeo = new cvf::DrawableGeo;
|
||||
drawGeo->addPrimitiveSet( indexSet.p() );
|
||||
drawGeo->setVertexArray( cvfVertices.p() );
|
||||
drawGeo->computeNormals();
|
||||
|
||||
m_nativeTrianglesPart = new cvf::Part();
|
||||
m_nativeTrianglesPart->setDrawable( drawGeo.p() );
|
||||
|
||||
Reference in New Issue
Block a user