mirror of
				https://github.com/OPM/ResInsight.git
				synced 2025-02-25 18:55:39 -06:00 
			
		
		
		
	Perforation Interval : Do not cast to int when creating new perf interval
This commit is contained in:
		@@ -51,7 +51,7 @@ void RicNewPerforationIntervalAtMeasuredDepthFeature::onActionTriggered(bool isC
 | 
			
		||||
    if (!RicWellPathsUnitSystemSettingsImpl::ensureHasUnitSystem(wellPath)) return;
 | 
			
		||||
    
 | 
			
		||||
    RimPerforationInterval* perforationInterval = new RimPerforationInterval;
 | 
			
		||||
    int measuredDepth = wellPathSelItem->m_measuredDepth;
 | 
			
		||||
    double measuredDepth = wellPathSelItem->m_measuredDepth;
 | 
			
		||||
    perforationInterval->setStartAndEndMD(measuredDepth, measuredDepth + 50);
 | 
			
		||||
 | 
			
		||||
    wellPath->perforationIntervalCollection()->appendPerforation(perforationInterval);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user