Ignore:
Timestamp:
Nov 9, 2007, 3:32:25 PM (17 years ago)
Author:
garnier
Message:

r627@mac-90108: laurentgarnier | 2007-11-09 07:57:42 +0100
modif dans les includes directives

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/geant4/visualization/OpenInventor/src/G4OpenInventorViewer.cc

    r529 r593  
    2424// ********************************************************************
    2525//
    26 // $Id: G4OpenInventorViewer.cc,v 1.57 2006/11/01 11:06:07 allison Exp $
    27 // GEANT4 tag $Name: geant4-08-02-patch-01 $
     26// $Id: G4OpenInventorViewer.cc,v 1.59 2007/04/03 13:35:48 allison Exp $
     27// GEANT4 tag $Name: geant4-09-00-ref-01 $
    2828
    2929#ifdef G4VIS_BUILD_OI_DRIVER
     
    6969  fNeedKernelVisit = true;  //?? Temporary, until KernelVisitDecision fixed.
    7070
     71  fVP.SetAutoRefresh(true);
    7172  fDefaultVP.SetAutoRefresh(true);
    72   fVP.SetAutoRefresh(true);
     73  fVP.SetPicking(true);
     74  fDefaultVP.SetPicking(true);
    7375
    7476  //FIXME : G.Barrand : not convinced that we have to rm culling.
     
    175177      (vp.GetNoOfSides ()       != fVP.GetNoOfSides ())       ||
    176178      (vp.IsMarkerNotHidden ()  != fVP.IsMarkerNotHidden ())  ||
    177       (vp.GetBackgroundColour ()!= fVP.GetBackgroundColour ())
    178       ) {
    179       return true;;
    180   }
     179      (vp.GetBackgroundColour ()!= fVP.GetBackgroundColour ())||
     180      (vp.IsPicking ()          != fVP.IsPicking ())          ||
     181      // Scaling for Open Inventor is done by the scene handler so it
     182      // needs a kernel visit.  (In this respect, it differs from the
     183      // OpenGL drivers, where it's done in SetView.)
     184      (vp.GetScaleFactor ()     != fVP.GetScaleFactor ())
     185      )
     186    return true;
     187
    181188  if (vp.IsDensityCulling () &&
    182189      (vp.GetVisibleDensity () != fVP.GetVisibleDensity ()))
Note: See TracChangeset for help on using the changeset viewer.