* Formation names format changed to allow no space around k-layer numbers. Also added possibility to use one number as k-layer count for the name. Based on  previous names last layer
* Deleted geomech cache of formation name result when updating the formation names
* Added TNH TNQV THQV to plane transformed stresses.
This commit is contained in:
Jacob Støren
2016-10-21 14:30:45 +02:00
parent bc82a0e45c
commit 593fe93244
10 changed files with 140 additions and 16 deletions

View File

@@ -23,6 +23,7 @@
#include "cafSelectionManager.h"
#include <QAction>
#include "QMessageBox"
CAF_CMD_SOURCE_INIT(RicReloadFormationNamesFeature, "RicReloadFormationNamesFeature");
@@ -62,7 +63,13 @@ void RicReloadFormationNamesFeature::onActionTriggered(bool isChecked)
caf::SelectionManager::instance()->objectsByType(&selectedFormationNamesObjs);
for (RimFormationNames* fnames: selectedFormationNamesObjs)
{
fnames->readFormationNamesFile(nullptr);
QString errorMessage;
fnames->readFormationNamesFile(&errorMessage);
if ( !errorMessage.isEmpty() )
{
QMessageBox::warning(nullptr, "Reload Formation Names", errorMessage);
}
fnames->updateConnectedViews();
}
}