#5004 Remove comparison view option from 2dIntersection view

This commit is contained in:
Jacob Støren 2019-11-06 14:53:21 +01:00
parent d82b957add
commit 55470cc1cd
3 changed files with 12 additions and 0 deletions

View File

@ -101,6 +101,8 @@ Rim2dIntersectionView::Rim2dIntersectionView( void )
nameConfig()->hideAggregationTypeField( true );
nameConfig()->hidePropertyField( true );
nameConfig()->hideSampleSpacingField( true );
hideComparisonViewField();
}
//--------------------------------------------------------------------------------------------------

View File

@ -201,6 +201,14 @@ bool Rim3dView::isUsingOverrideViewer() const
return m_overrideViewer != nullptr;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void Rim3dView::hideComparisonViewField()
{
m_comparisonView.uiCapability()->setUiHidden( true );
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@ -196,6 +196,8 @@ protected:
RiuViewer* nativeOrOverrideViewer() const;
bool isUsingOverrideViewer() const;
void hideComparisonViewField();
// Abstract methods to implement in subclasses
virtual void onCreateDisplayModel() = 0;