I want to refresh the screen without full drawing, but I can not do it at Rhino 6.
At Rhino 5 I was able to do it with the following code:
CRhinoDoc* pDoc = RhinoApp().ActiveDoc(); pDoc->SetRedrawDisplayHint(CRhinoView::refresh_display_hint); pDoc->Redraw();
After that, only CRhinoDrawCallback::DrawDecorations is called. (expected behavior)
However, at Rhino 6, CRhinoDisplayConduit::ExecConduit is called many times with various channels. (For example, SC_PREDRAWOBJECTS etc.)
Therefore full drawing will be done.
Changing DISPLAY_HINT does not change the result.
It seems that the SetRedrawDisplayHint function doesn’t work at Rhino 6.
How can I refresh the screen without full drawing?
Rhino 6 SR15 (6.15.19164)
Rhino 6 C++ SDK (6.15.19164.21011)
I used 6.12.19029.06381 before. The issue was the same.