Simplify PdmDocument class and move fileName to private

Remove resolveReferencesRecursively() and initAfterReadRecursively() from PdmDocument::readFile(). These functions will be called in RiaApplication::loadProject after the file paths modifications are done. This will ensure that file paths can be used in initAfterRead() functions.
This commit is contained in:
Magne Sjaastad
2024-06-05 11:00:55 +02:00
parent beccd2454e
commit 41d5e498d7
9 changed files with 66 additions and 48 deletions

View File

@@ -59,7 +59,7 @@ TEST( RimRelocatePathTest, findPathsInProjectFile )
RimProject project;
project.fileName = fileName;
project.setFileName( fileName );
project.readFile();
std::vector<caf::FilePath*> filePaths;