Skip bounding box check when drawing seismic outline, as it could go far above reservoir

This commit is contained in:
jonjenssen authored and jonjenssen committed 2023-05-08 17:30:24 +02:00
1 parent 54e901b79b
commit 00e533ab10
4 files changed
+29 -2

No files matched your search

@@ -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 } )