mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 17:02:13 -05:00
Octave Interface: Current Case is now interpreted correctly by Resinsight
The method returning the current case had not been updated to do so. Some debug output is also removed.
This commit is contained in:
1 parent
26d5a7c5b0
commit
6a7181e1d9
2 files changed
+7
-6
No files matched your search
@@ -161,7 +161,13 @@ void RiaSocketServer::handleClientConnection(QTcpSocket* clientToHandle)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimCase* RiaSocketServer::findReservoir(int caseId)
|
||||
{
|
||||
int currCaseId = caseId;
|
||||
if (caseId < 0)
|
||||
{
|
||||
currCaseId = this->currentCaseId();
|
||||
}
|
||||
|
||||
if (currCaseId < 0)
|
||||
{
|
||||
if (RiaApplication::instance()->activeReservoirView())
|
||||
{
|
||||
@@ -223,8 +229,6 @@ void RiaSocketServer::readCommandFromOctave()
|
||||
|
||||
CVF_ASSERT(args.size() > 0);
|
||||
|
||||
std::cout << args[0].data() << std::endl;
|
||||
|
||||
m_currentCommand = RiaSocketCommandFactory::instance()->create(args[0]);
|
||||
|
||||
if (m_currentCommand)
|
||||
|
||||
Reference in new issue
Block a user