mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Allow using scale values less than 1.0 (#9108)
* Change view scale into list of predefined double values in both toolbar and property editor. Add values less than 1.0
This commit is contained in:
@@ -93,9 +93,8 @@ public:
|
||||
|
||||
// Public fields:
|
||||
|
||||
caf::PdmField<double> scaleZ;
|
||||
caf::PdmField<bool> isPerspectiveView;
|
||||
caf::PdmField<int> maximumFrameRate;
|
||||
caf::PdmField<bool> isPerspectiveView;
|
||||
caf::PdmField<int> maximumFrameRate;
|
||||
|
||||
// Draw style
|
||||
|
||||
@@ -168,10 +167,12 @@ public:
|
||||
void updateAnnotationItems();
|
||||
void resetLegends();
|
||||
|
||||
void setScaleZAndUpdate( double scaleZ );
|
||||
void updateScaling();
|
||||
void updateZScaleLabel();
|
||||
bool isScaleZEditable();
|
||||
void setScaleZ( double scaleZ );
|
||||
void setScaleZAndUpdate( double scaleZ );
|
||||
void updateScaling();
|
||||
void updateZScaleLabel();
|
||||
bool isScaleZEditable();
|
||||
double scaleZ() const;
|
||||
|
||||
bool isMasterView() const;
|
||||
Rim3dView* activeComparisonView() const;
|
||||
@@ -253,6 +254,9 @@ protected:
|
||||
cvf::ref<cvf::ModelBasicList> m_intersectionVizModel;
|
||||
cvf::ref<RivWellPathsPartMgr> m_wellPathsPartManager;
|
||||
|
||||
caf::PdmField<double> m_scaleZ;
|
||||
caf::PdmField<double> m_customScaleZ;
|
||||
|
||||
private:
|
||||
friend class RimProject;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user