Refactor: use RigBoundingBoxIjk in RigActiveCellInfo.

This commit is contained in:
Kristian Bendiksen committed 2026-01-12 09:58:55 +01:00
1 parent 11dfdc2c21
commit e681b4603a
12 files changed
+81 -68

No files matched your search

@@ -138,8 +138,8 @@ caf::PdmScriptResponse RicfCreateMultipleFractures::execute()
if ( feature && ( topLayer < 0 || baseLayer < 0 ) )
{
auto ijkRange = feature->ijkRangeForGrid( gridCase );
if ( topLayer < 0 ) topLayer = static_cast<int>( ijkRange.first.z() );
if ( baseLayer < 0 ) baseLayer = static_cast<int>( ijkRange.second.z() );
if ( topLayer < 0 ) topLayer = static_cast<int>( ijkRange.min().z() );
if ( baseLayer < 0 ) baseLayer = static_cast<int>( ijkRange.max().z() );
}
options->setValues( topLayer, baseLayer, fractureTemplate, m_spacing );