mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Ovveride update() and find all linked views to be updated
This commit is contained in:
@@ -792,3 +792,12 @@ void caf::Viewer::updateOverlayImagePresence()
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
/// Create a virtual method so it is possible to override this function in derived classes
|
||||
/// Default implementation calls the base class update()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void caf::Viewer::update()
|
||||
{
|
||||
caf::OpenGLWidget::update();
|
||||
}
|
||||
|
||||
|
||||
@@ -131,6 +131,8 @@ public:
|
||||
// Find out whether the system supports shaders
|
||||
static bool isShadersSupported();
|
||||
|
||||
virtual void update();
|
||||
|
||||
public slots:
|
||||
virtual void slotSetCurrentFrame(int frameIndex);
|
||||
virtual void slotEndAnimation();
|
||||
|
||||
Reference in New Issue
Block a user