Changeset 1242 for trunk/source/visualization/management
- Timestamp:
- Apr 12, 2010, 5:20:43 PM (16 years ago)
- Location:
- trunk/source/visualization/management
- Files:
-
- 3 edited
-
GNUmakefile (modified) (1 diff)
-
History (modified) (1 diff)
-
src/G4VisManager.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/management/GNUmakefile
r1241 r1242 11 11 # For debug mode 12 12 # CPPFLAGS += -DG4DEBUG_VIS_MANAGEMENT 13 CPPFLAGS += -DG4VIS_BUILD_OPTIMISE_1 14 CPPFLAGS += -DG4VIS_BUILD_OPTIMISE_2 15 13 16 14 17 GLOBLIBS = libG4modeling.lib -
trunk/source/visualization/management/History
r1241 r1242 26 26 History file for visualization management sub-category 27 27 ------------------------------------------------------ 28 9th March 2010 Laurent Garnier 29 - G4OpenGLViewer : Fix clipping when resizing non square size windows 30 28 31 8th March 2010 Laurent Garnier 29 32 -G4VisManager.cc : Add protection against null pointer -
trunk/source/visualization/management/src/G4VisManager.cc
r1241 r1242 477 477 fpSceneHandler -> BeginPrimitives (objectTransform); 478 478 fpSceneHandler -> AddPrimitive (line); 479 #ifndef G4VIS_BUILD_OPTIMISE_2 479 480 fpSceneHandler -> EndPrimitives (); 481 #endif 480 482 } 481 483 } … … 485 487 if (IsValidView ()) { 486 488 ClearTransientStoreIfMarked(); 489 #ifndef G4VIS_BUILD_OPTIMISE_2 490 // FIXME : test 487 491 fpSceneHandler -> BeginPrimitives (objectTransform); 492 #endif 488 493 fpSceneHandler -> AddPrimitive (polymarker); 494 // FIXME : test 495 #ifndef G4VIS_BUILD_OPTIMISE_2 489 496 fpSceneHandler -> EndPrimitives (); 497 #endif 490 498 } 491 499 } … … 515 523 if (IsValidView ()) { 516 524 ClearTransientStoreIfMarked(); 525 // FIXME : test 526 #ifndef G4VIS_BUILD_OPTIMISE_2 517 527 fpSceneHandler -> BeginPrimitives (objectTransform); 518 528 fpSceneHandler -> AddPrimitive (text); 529 #endif 519 530 fpSceneHandler -> EndPrimitives (); 520 531 }
Note:
See TracChangeset
for help on using the changeset viewer.
