diff --git a/ApplicationLibCode/ProjectDataModel/RimDepthTrackPlot.cpp b/ApplicationLibCode/ProjectDataModel/RimDepthTrackPlot.cpp index dbc7db6070..aba64e44a8 100644 --- a/ApplicationLibCode/ProjectDataModel/RimDepthTrackPlot.cpp +++ b/ApplicationLibCode/ProjectDataModel/RimDepthTrackPlot.cpp @@ -680,7 +680,10 @@ std::map RimDepthTrackPlot::createNameKeyValueMap() const { double rkb = wellPathGeometry->rkbDiff(); - variableValueMap[RiaDefines::namingVariableAirGap()] = QString( "Air Gap = %1 m" ).arg( rkb ); + if ( rkb != 0.0 || m_namingMethod() == RiaDefines::ObjectNamingMethod::TEMPLATE ) + { + variableValueMap[RiaDefines::namingVariableAirGap()] = QString( "Air Gap = %1 m" ).arg( rkb ); + } } }