mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Use sliders to manipulate surface plane extent
This commit is contained in:
@@ -54,9 +54,7 @@ void RicNewDepthSurfaceFeature::onActionTriggered( bool isChecked )
|
||||
|
||||
bb.expand( 0.1 * bb.extent().z() );
|
||||
|
||||
auto lowerDepthLimit = -bb.max().z();
|
||||
auto upperDepthLimit = -bb.min().z();
|
||||
surface->setDepthSliderLimits( lowerDepthLimit, upperDepthLimit );
|
||||
surface->setAreaOfInterest( bb.min(), bb.max() );
|
||||
}
|
||||
surface->loadDataIfRequired();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user