(#688) Update bounding box for grid box model when camera changes

This commit is contained in:
Magne Sjaastad committed 2015-12-03 14:02:36 +01:00
1 parent 71cb7115eb
commit a0775fc6ec
2 files changed
+4 -2

No files matched your search

+2 -2
View File
@@ -541,9 +541,9 @@ RimView* RiuViewer::ownerReservoirView()
//--------------------------------------------------------------------------------------------------
void RiuViewer::optimizeClippingPlanes()
{
caf::Viewer::optimizeClippingPlanes();
m_gridBoxGenerator->updateFromCamera(mainCamera());
caf::Viewer::optimizeClippingPlanes();
}
//--------------------------------------------------------------------------------------------------