mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix crashes in well log plots
This commit is contained in:
parent
fd49edc91c
commit
d7197b7a88
@ -1050,7 +1050,8 @@ std::map<QDateTime, std::set<RifDataSourceForRftPlt>> RimWellPlotTools::calculat
|
|||||||
{
|
{
|
||||||
for ( const auto& source : selSources )
|
for ( const auto& source : selSources )
|
||||||
{
|
{
|
||||||
if ( source.sourceType() == RifDataSourceForRftPlt::SUMMARY_RFT && source.summaryCase() )
|
if ( source.sourceType() == RifDataSourceForRftPlt::SUMMARY_RFT && source.summaryCase() &&
|
||||||
|
source.summaryCase()->rftReader() )
|
||||||
{
|
{
|
||||||
std::set<QDateTime> wellTimeSteps = source.summaryCase()->rftReader()->availableTimeSteps(
|
std::set<QDateTime> wellTimeSteps = source.summaryCase()->rftReader()->availableTimeSteps(
|
||||||
wellPathNameOrSimWellName );
|
wellPathNameOrSimWellName );
|
||||||
|
@ -620,7 +620,7 @@ QList<caf::PdmOptionItemInfo> RimWellLogTrack::calculateValueOptions( const caf:
|
|||||||
caf::PdmOptionItemInfo( RegionAnnotationTypeEnum::uiText( RiuPlotAnnotationTool::FORMATION_ANNOTATIONS ),
|
caf::PdmOptionItemInfo( RegionAnnotationTypeEnum::uiText( RiuPlotAnnotationTool::FORMATION_ANNOTATIONS ),
|
||||||
RiuPlotAnnotationTool::FORMATION_ANNOTATIONS ) );
|
RiuPlotAnnotationTool::FORMATION_ANNOTATIONS ) );
|
||||||
RimWellBoreStabilityPlot* wellBoreStabilityPlot = nullptr;
|
RimWellBoreStabilityPlot* wellBoreStabilityPlot = nullptr;
|
||||||
this->firstAncestorOrThisOfTypeAsserted( wellBoreStabilityPlot );
|
this->firstAncestorOrThisOfType( wellBoreStabilityPlot );
|
||||||
if ( wellBoreStabilityPlot )
|
if ( wellBoreStabilityPlot )
|
||||||
{
|
{
|
||||||
options.push_back(
|
options.push_back(
|
||||||
|
Loading…
Reference in New Issue
Block a user