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 committed 2016-09-07 12:52:40 +02:00
1 parent cf8190cbf1
commit 1209c908e5
4 files changed
+26 -39

No files matched your search

+1 -1
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));