- Timestamp:
- Nov 9, 2007, 3:32:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/visualization/OpenInventor/src/G4OpenInventorViewer.cc
r529 r593 24 24 // ******************************************************************** 25 25 // 26 // $Id: G4OpenInventorViewer.cc,v 1.5 7 2006/11/01 11:06:07allison Exp $27 // GEANT4 tag $Name: geant4-0 8-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 $ 28 28 29 29 #ifdef G4VIS_BUILD_OI_DRIVER … … 69 69 fNeedKernelVisit = true; //?? Temporary, until KernelVisitDecision fixed. 70 70 71 fVP.SetAutoRefresh(true); 71 72 fDefaultVP.SetAutoRefresh(true); 72 fVP.SetAutoRefresh(true); 73 fVP.SetPicking(true); 74 fDefaultVP.SetPicking(true); 73 75 74 76 //FIXME : G.Barrand : not convinced that we have to rm culling. … … 175 177 (vp.GetNoOfSides () != fVP.GetNoOfSides ()) || 176 178 (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 181 188 if (vp.IsDensityCulling () && 182 189 (vp.GetVisibleDensity () != fVP.GetVisibleDensity ()))
Note: See TracChangeset
for help on using the changeset viewer.