Ignore:
Timestamp:
Apr 12, 2010, 5:20:43 PM (16 years ago)
Author:
garnier
Message:

bugged version

Location:
trunk/source/visualization/management
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/management/GNUmakefile

    r1241 r1242  
    1111# For debug mode
    1212# CPPFLAGS += -DG4DEBUG_VIS_MANAGEMENT
     13CPPFLAGS += -DG4VIS_BUILD_OPTIMISE_1
     14CPPFLAGS += -DG4VIS_BUILD_OPTIMISE_2
     15
    1316
    1417GLOBLIBS  = libG4modeling.lib
  • trunk/source/visualization/management/History

    r1241 r1242  
    2626History file for visualization management sub-category
    2727------------------------------------------------------
     289th March 2010 Laurent Garnier
     29 - G4OpenGLViewer : Fix clipping when resizing non square size windows
     30 
    28318th March 2010 Laurent Garnier
    2932-G4VisManager.cc : Add protection against null pointer
  • trunk/source/visualization/management/src/G4VisManager.cc

    r1241 r1242  
    477477    fpSceneHandler -> BeginPrimitives (objectTransform);
    478478    fpSceneHandler -> AddPrimitive (line);
     479#ifndef G4VIS_BUILD_OPTIMISE_2
    479480    fpSceneHandler -> EndPrimitives ();
     481#endif
    480482  }
    481483}
     
    485487  if (IsValidView ()) {
    486488    ClearTransientStoreIfMarked();
     489#ifndef G4VIS_BUILD_OPTIMISE_2
     490    // FIXME : test
    487491    fpSceneHandler -> BeginPrimitives (objectTransform);
     492#endif
    488493    fpSceneHandler -> AddPrimitive (polymarker);
     494    // FIXME : test
     495#ifndef G4VIS_BUILD_OPTIMISE_2
    489496    fpSceneHandler -> EndPrimitives ();
     497#endif
    490498  }
    491499}
     
    515523  if (IsValidView ()) {
    516524    ClearTransientStoreIfMarked();
     525    // FIXME : test
     526#ifndef G4VIS_BUILD_OPTIMISE_2
    517527    fpSceneHandler -> BeginPrimitives (objectTransform);
    518528    fpSceneHandler -> AddPrimitive (text);
     529#endif
    519530    fpSceneHandler -> EndPrimitives ();
    520531  }
Note: See TracChangeset for help on using the changeset viewer.