#3700 Fix bugs related to cell positions and grid extent.

This commit is contained in:
Gaute Lindkvist
2018-11-20 11:00:02 +01:00
parent 212f80f92e
commit 58c5f066c3
4 changed files with 63 additions and 43 deletions

View File

@@ -79,7 +79,7 @@ void RivContourMapProjectionPartMgr::appendPickPointVisToModel(cvf::ModelBasicLi
if (drawable.notNull() && drawable->boundingBox().isValid())
{
caf::MeshEffectGenerator meshEffectGen(cvf::Color3::MAGENTA);
meshEffectGen.setLineWidth(2.0f);
meshEffectGen.setLineWidth(1.0f);
meshEffectGen.createAndConfigurePolygonOffsetRenderState(caf::PO_2);
cvf::ref<cvf::Effect> effect = meshEffectGen.generateCachedEffect();