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:
Jacob Støren
2016-09-07 12:49:01 +02:00
parent cf8190cbf1
commit 1209c908e5
4 changed files with 26 additions and 39 deletions

View File

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