mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3970 Contour Maps: improve edge look
* Remove excess tiny triangles around edges * Remove labels from contour lines that overlap inner contour lines
This commit is contained in:
@@ -141,7 +141,7 @@ void RimGeoMechContourMapProjection::ensureOnlyValidPorBarVisible(cvf::UByteArra
|
||||
const std::vector<float>& resultValues = resultCollection->resultValues(porBarAddr, 0, timeStep);
|
||||
for (int i = 0; i < static_cast<int>(visibility->size()); ++i)
|
||||
{
|
||||
size_t resValueIdx = m_femPart->elementNodeResultIdx(i, 0);
|
||||
size_t resValueIdx = m_femPart->elementNodeResultIdx((int) i, 0);
|
||||
double scalarValue = resultValues[resValueIdx];
|
||||
(*visibility)[i] &= scalarValue != std::numeric_limits<double>::infinity();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user