Sync changes from upstream repository

This commit is contained in:
Bozo the Builder
2025-02-18 02:20:25 -08:00
parent b7e11d9dc6
commit 60e5bc464e
16 changed files with 639 additions and 141 deletions

View File

@@ -4104,10 +4104,11 @@ void ON_FileReference::SetFullPath(
else if (bFullPathChanged)
{
m_content_hash = ON_ContentHash::Unset;
m_full_path_status
= ON_FileSystem::IsFile(m_full_path)
? ON_FileReference::Status::FullPathValid
: ON_FileReference::Status::FileNotFound;
//https://mcneel.myjetbrains.com/youtrack/issue/RH-85181
//This used to check whether the file was there, eagerly, but this can be a big performance hit, especially on Google Drive.
//And the accessor for this property is basically never called.
m_full_path_status = ON_FileReference::Status::Unknown;
}
}
}