Always try to import well path from well path cache

This commit is contained in:
Magne Sjaastad 2020-05-20 18:33:36 +02:00
parent ba497bebdf
commit fb763483a2

View File

@ -259,10 +259,6 @@ bool RimFileWellPath::isStoredInCache() const
///
//--------------------------------------------------------------------------------------------------
void RimFileWellPath::updateFilePathsFromProjectPath( const QString& newProjectPath, const QString& oldProjectPath )
{
// RimWellPath::updateFilePathsFromProjectPath( newProjectPath, oldProjectPath );
if ( isStoredInCache() )
{
QString newCacheFileName = getCacheFileName();
@ -271,8 +267,3 @@ void RimFileWellPath::updateFilePathsFromProjectPath( const QString& newProjectP
m_filePathInCache = newCacheFileName;
}
}
// else
// {
// m_filepath = RimTools::relocateFile( m_filepath(), newProjectPath, oldProjectPath, nullptr, nullptr );
// }
}