Ignore:
Timestamp:
May 12, 2009, 11:04:00 AM (15 years ago)
Author:
garnier
Message:

en test pour les refresh, ne marche pas bien

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/OpenGL/src/G4OpenGLXmRotationCallbacks.cc

    r976 r1038  
    109109  */
    110110
    111   pView->SetView ();
    112   pView->ClearView ();
    113   pView->DrawView ();
     111  pView->RepaintGLView ();
    114112
    115113  pView->rotation_timer = XtAppAddTimeOut
     
    182180
    183181  */
    184   pView->SetView ();
    185   pView->ClearView ();
    186   pView->DrawView ();
     182  pView->RepaintGLView ();
    187183 
    188184  pView->rotation_timer = XtAppAddTimeOut
     
    275271  pView->fVP.SetViewAndLights (pView->original_vp + d_up + d_third_axis);
    276272
    277   pView->SetView ();
    278   pView->ClearView ();
    279   pView->DrawView ();
     273  pView->RepaintGLView ();
    280274 
    281275  if (pView->frameNo++ == 20) {
     
    284278      pView->frameNo = 0;
    285279      pView->fVP.SetViewAndLights (pView->original_vp);
    286       pView->SetView ();
    287       pView->ClearView ();
    288       pView->DrawView ();
     280      pView->RepaintGLView();
    289281   }
    290282  } else {
     
    311303  pView->fVP.SetZoomFactor(1.0);
    312304  pView->fVP.SetDolly(0.0);
    313   pView->SetView ();
     305  pView->RepaintGLView();
    314306  pView->ClearView ();
    315307  pView->DrawView ();
Note: See TracChangeset for help on using the changeset viewer.