summaryrefslogtreecommitdiff
path: root/src/Viewer/Viewer_View.cxx
blob: ba186b83a422e04a40574bd7ba847b773d3375e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <Viewer_View.ixx>

Viewer_View::Viewer_View():myImmediateUpdate (Standard_True) {}

void Viewer_View::ImmediateUpdate() const {
  if (myImmediateUpdate) Update();
}

Standard_Boolean Viewer_View::SetImmediateUpdate(const Standard_Boolean onoff) {
  Standard_Boolean p = myImmediateUpdate;
  myImmediateUpdate = onoff;
  return p;
}