mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4994 Make ComparisonView mode for InfoBox and animation progress
This commit is contained in:
@@ -425,11 +425,11 @@ bool Rim2dIntersectionView::hasResults()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
int Rim2dIntersectionView::timeStepCount()
|
||||
size_t Rim2dIntersectionView::onTimeStepCountRequested()
|
||||
{
|
||||
if ( isTimeStepDependentDataVisible() )
|
||||
{
|
||||
return static_cast<int>( this->ownerCase()->timeStepStrings().size() );
|
||||
return this->ownerCase()->timeStepStrings().size();
|
||||
}
|
||||
|
||||
return 0;
|
||||
@@ -484,9 +484,9 @@ void Rim2dIntersectionView::onCreateDisplayModel()
|
||||
|
||||
nativeOrOverrideViewer()->removeAllFrames( isUsingOverrideViewer() );
|
||||
|
||||
int tsCount = this->timeStepCount();
|
||||
size_t tsCount = this->timeStepCount();
|
||||
|
||||
for ( int i = 0; i < tsCount; ++i )
|
||||
for ( size_t i = 0; i < tsCount; ++i )
|
||||
{
|
||||
nativeOrOverrideViewer()->addFrame( new cvf::Scene(), isUsingOverrideViewer() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user