mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed clip plane related assert on linux. Hopefully the final fix of trouble related to : ca6e650a72 and 80985785 and 0128baddff
The fundamental problem was that the quad rendering was included in the boundingbox.
This commit is contained in:
@@ -198,7 +198,7 @@ RiuViewer::~RiuViewer()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuViewer::setDefaultView()
|
||||
{
|
||||
cvf::BoundingBox bb = m_renderingSequence->boundingBox();
|
||||
cvf::BoundingBox bb = m_mainRendering->boundingBox();
|
||||
if (!bb.isValid())
|
||||
{
|
||||
bb.add(cvf::Vec3d(-1, -1, -1));
|
||||
|
||||
Reference in New Issue
Block a user