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:
jonjenssen
2022-07-04 15:48:52 +02:00
committed by GitHub
parent 55eefbd53e
commit 6105813d28
8 changed files with 83 additions and 42 deletions

View File

@@ -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;