Added dummy static class to fix issue with single macro in cpp

The implementation of this dummy class is put in the file with the
single macro defining the UI editor. This will cause the cpp file to
always be compiled.
This commit is contained in:
Magne Sjaastad
2015-08-12 21:51:02 +02:00
parent ee78d3c148
commit fd5bd534f6
6 changed files with 48 additions and 2 deletions

View File

@@ -63,6 +63,7 @@ RimView::RimView(void)
CAF_PDM_InitField(&showWindow, "ShowWindow", true, "Show 3D viewer", "", "", "");
showWindow.uiCapability()->setUiHidden(true);
CAF_PDM_InitField(&cameraPosition, "CameraPosition", cvf::Mat4d::IDENTITY, "", "", "", "");
cameraPosition.uiCapability()->setUiHidden(true);
double defaultScaleFactor = 1.0;
if (preferences) defaultScaleFactor = preferences->defaultScaleFactorZ;