mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Skip bounding box check when drawing seismic outline, as it could go far above reservoir
This commit is contained in:
@@ -479,9 +479,13 @@ cvf::ref<RigPolyLinesData> RimSeismicSection::polyLinesData() const
|
||||
|
||||
if ( m_showSeismicOutline() && m_seismicData() != nullptr )
|
||||
{
|
||||
std::vector<cvf::Vec3d> outline = m_seismicData()->worldOutline();
|
||||
auto outline = m_seismicData()->worldOutline();
|
||||
if ( outline.size() == 8 )
|
||||
{
|
||||
// seismic bounding box could be all the way up to the sea surface,
|
||||
// make sure to skip bounding box check in drawing code
|
||||
pld->setSkipBoundingBoxCheck( true );
|
||||
|
||||
std::vector<cvf::Vec3d> box;
|
||||
|
||||
for ( auto i : { 4, 0, 1, 3, 2, 0 } )
|
||||
|
||||
Reference in New Issue
Block a user