Ignore:
Timestamp:
Dec 3, 2008, 5:31:19 PM (16 years ago)
Author:
garnier
Message:

Modif pour XGeometry complet. Avec debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/management/src/G4VViewer.cc

    r894 r896  
    6161  fShortName = fName (0, fName.find (' '));
    6262  fShortName.strip ();
    63 
    64   G4VisManager* pVisMan = G4VisManager::GetInstance();
    65   G4int xHint, yHint;
    66   pVisMan->GetWindowSizeHint(xHint, yHint);
    67   const G4String& XGeometryString = pVisMan->GetXGeometryString();
    68 #ifdef G4DEBUG
    69     printf("G4VViewer::G4VViewer set geometry of viewer\n");
    70 #endif
    71   fVP.SetWindowSizeHint(xHint,yHint);
    72   fVP.SetXGeometryString(XGeometryString);
    73   fDefaultVP.SetWindowSizeHint(xHint,yHint);
    74   fDefaultVP.SetXGeometryString(XGeometryString);
    7563}
    7664
Note: See TracChangeset for help on using the changeset viewer.