mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 17:02:13 -05:00
Skip bounding box check when drawing seismic outline, as it could go far above reservoir
This commit is contained in:
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 } )
|
||||
|
||||
Reference in new issue
Block a user