#3736 Fix Linking issues related to Contour Maps.

* They are not allowed to be master views so a few things should be disallowed.
This commit is contained in:
Gaute Lindkvist committed 2018-11-22 13:39:07 +01:00
1 parent d69153c013
commit fcc8ee6e27
4 files changed
+41 -12

No files matched your search

@@ -21,8 +21,9 @@
#include "RiaApplication.h"
#include "RimProject.h"
#include "RimContourMapView.h"
#include "RimGridView.h"
#include "RimProject.h"
#include "RimViewController.h"
#include "RimViewLinker.h"
#include "RimViewLinkerCollection.h"
@@ -54,6 +55,11 @@ bool RicSetMasterViewFeature::isCommandEnabled()
return false;
}
if (dynamic_cast<RimContourMapView*>(activeView) != nullptr)
{
return false;
}
return true;
}