mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4476 Fix reload of group by formation when a 3d Filter View is enabled
* Need to ensure the display model has been created by the time the cross plot is created.
This commit is contained in:
parent
8283d1ac86
commit
979a109f80
@ -28,6 +28,7 @@
|
|||||||
#include "RiaProjectModifier.h"
|
#include "RiaProjectModifier.h"
|
||||||
#include "RiaSocketServer.h"
|
#include "RiaSocketServer.h"
|
||||||
#include "RiaVersionInfo.h"
|
#include "RiaVersionInfo.h"
|
||||||
|
#include "RiaViewRedrawScheduler.h"
|
||||||
|
|
||||||
#include "ExportCommands/RicSnapshotAllViewsToFileFeature.h"
|
#include "ExportCommands/RicSnapshotAllViewsToFileFeature.h"
|
||||||
#include "HoloLensCommands/RicHoloLensSessionManager.h"
|
#include "HoloLensCommands/RicHoloLensSessionManager.h"
|
||||||
@ -590,6 +591,10 @@ bool RiaApplication::loadProject(const QString& projectFileName,
|
|||||||
oilField->annotationCollection()->loadDataAndUpdate();
|
oilField->annotationCollection()->loadDataAndUpdate();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Some procedures in onProjectOpened() may rely on the display model having been created
|
||||||
|
// So we need to force the completion of the display model here.
|
||||||
|
RiaViewRedrawScheduler::instance()->updateAndRedrawScheduledViews();
|
||||||
|
|
||||||
// NB! This function must be called before executing command objects,
|
// NB! This function must be called before executing command objects,
|
||||||
// because the tree view state is restored from project file and sets
|
// because the tree view state is restored from project file and sets
|
||||||
// current active view ( see restoreTreeViewState() )
|
// current active view ( see restoreTreeViewState() )
|
||||||
|
Loading…
Reference in New Issue
Block a user