mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-20 12:59:46 -06:00
(#688) Update bounding box for grid box model when camera changes
This commit is contained in:
1 parent
71cb7115eb
commit
a0775fc6ec
2 files changed
+4
-2
No files matched your search
@@ -541,9 +541,9 @@ RimView* RiuViewer::ownerReservoirView()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RiuViewer::optimizeClippingPlanes()
|
||||
{
|
||||
caf::Viewer::optimizeClippingPlanes();
|
||||
|
||||
m_gridBoxGenerator->updateFromCamera(mainCamera());
|
||||
|
||||
caf::Viewer::optimizeClippingPlanes();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user