#3312 Well Path Creation update preparations. Rename of method

This commit is contained in:
Jacob Støren
2018-09-11 12:41:45 +02:00
parent 63354c7fd0
commit 3d752995d2
25 changed files with 31 additions and 32 deletions

View File

@@ -81,7 +81,7 @@ void RicNewEditableWellPathFeature::onActionTriggered(bool isChecked)
RimProject* project;
wellPathCollection->firstAncestorOrThisOfTypeAsserted(project);
project->createDisplayModelAndRedrawAllViews();
project->scheduleCreateDisplayModelAndRedrawAllViews();
Riu3DMainWindowTools::selectAsCurrentItem(newModeledWellPath->geometryDefinition());
}

View File

@@ -65,7 +65,7 @@ void RicWellPathFormationsImportFileFeature::onActionTriggered(bool isChecked)
if (project)
{
project->createDisplayModelAndRedrawAllViews();
project->scheduleCreateDisplayModelAndRedrawAllViews();
if (project->mainPlotCollection())
{
project->mainPlotCollection->updatePlotsWithFormations();

View File

@@ -63,7 +63,7 @@ void RicWellPathsImportFileFeature::onActionTriggered(bool isChecked)
if (project)
{
project->createDisplayModelAndRedrawAllViews();
project->scheduleCreateDisplayModelAndRedrawAllViews();
RimOilField* oilField = project->activeOilField();
if (!oilField) return;

View File

@@ -100,7 +100,7 @@ void RicWellPathsImportSsihubFeature::onActionTriggered(bool isChecked)
if (wellPaths.size() > 0)
{
app->addWellPathsToModel(wellPaths);
app->project()->createDisplayModelAndRedrawAllViews();
app->project()->scheduleCreateDisplayModelAndRedrawAllViews();
}
app->setCacheDataObject("ssihub_username", wellImportwizard.field("username"));