mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06: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