mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-21 22:13:25 -06:00
#892 Fixed problem with one element only gray colors
This commit is contained in:
parent
3ca53b6103
commit
0d4e4508dc
@ -368,7 +368,7 @@ void RivIntersectionBoxPartMgr::updatePartEffect()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RivIntersectionBoxPartMgr::appendNativeCrossSectionFacesToModel(cvf::ModelBasicList* model, cvf::Transform* scaleTransform)
|
||||
{
|
||||
if (m_intersectionBoxFaces.isNull())
|
||||
if (m_intersectionBoxFaces.isNull() && m_intersectionBoxGridLines.isNull())
|
||||
{
|
||||
generatePartGeometry();
|
||||
}
|
||||
@ -385,7 +385,7 @@ void RivIntersectionBoxPartMgr::appendNativeCrossSectionFacesToModel(cvf::ModelB
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RivIntersectionBoxPartMgr::appendMeshLinePartsToModel(cvf::ModelBasicList* model, cvf::Transform* scaleTransform)
|
||||
{
|
||||
if (m_intersectionBoxGridLines.isNull())
|
||||
if (m_intersectionBoxFaces.isNull() && m_intersectionBoxGridLines.isNull())
|
||||
{
|
||||
generatePartGeometry();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user