mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user