mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
(#690) Fixed crash on linux when selecting cells with high cell index.
Caused by unintentional pointer arithmetics on string literal.
This commit is contained in:
@@ -144,7 +144,7 @@ void RivFemPartPartMgr::generatePartGeometry(RivFemPartGeometryGenerator& geoBui
|
||||
}
|
||||
|
||||
cvf::ref<cvf::Part> part = new cvf::Part;
|
||||
part->setName("Grid mesh " + m_gridIdx);
|
||||
part->setName("Grid mesh " + cvf::String(m_gridIdx));
|
||||
part->setDrawable(geoMesh.p());
|
||||
|
||||
part->setTransform(m_scaleTransform.p());
|
||||
|
||||
Reference in New Issue
Block a user