- Timestamp:
- Jan 5, 2010, 3:52:09 PM (14 years ago)
- Location:
- trunk/source/visualization/OpenGL
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenGL/GNUmakefile
r1196 r1227 11 11 12 12 # For debug mode 13 CPPFLAGS += -DG4DEBUG_VIS_OGL13 # CPPFLAGS += -DG4DEBUG_VIS_OGL 14 14 15 GLOBLIBS = libG4vis_management.lib libG4modeling.lib 16 GLOBLIBS += libG4 interfaces.lib libG4run.lib libG4event.lib15 GLOBLIBS = libG4vis_management.lib libG4modeling.lib libG4gl2ps.lib 16 GLOBLIBS += libG4zlib.lib libG4interfaces.lib libG4run.lib libG4event.lib 17 17 GLOBLIBS += libG4tracking.lib libG4processes.lib libG4digits_hits.lib 18 18 GLOBLIBS += libG4track.lib libG4particles.lib libG4geometry.lib … … 39 39 CPPFLAGS += -I$(G4BASE)/digits_hits/hits/include 40 40 41 INTYLIBS += -L$(G4LIBDIR) 42 43 SUBLIBS += G4gl2ps 41 #INTYLIBS += -L$(G4LIBDIR) 44 42 45 43 include $(G4INSTALL)/config/moc.gmk -
trunk/source/visualization/OpenGL/src/G4OpenGLImmediateQtViewer.cc
r1196 r1227 190 190 #if QT_VERSION < 0x040000 191 191 if (((getWinWidth() == (unsigned int)width())) &&(getWinHeight() == (unsigned int) height())) { 192 return; 193 } 192 194 #else 193 195 // L. Garnier : Trap to get the size with mac OSX 10.6 and Qt 4.6(devel) … … 203 205 } 204 206 if ((getWinWidth() == (unsigned int)sw) &&(getWinHeight() == (unsigned int)sh)) { 205 #endif206 207 return; 208 209 } else if ((sw == 0) && (sh == 0)) { // NOT A TOP LEVEL WIDGET 210 if (((getWinWidth() == (unsigned int)width())) &&(getWinHeight() == (unsigned int) height())) { 211 // return; 212 } 207 213 } 214 #endif 208 215 } 209 216 #ifdef G4DEBUG_VIS_OGL -
trunk/source/visualization/OpenGL/src/G4OpenGLStoredQtViewer.cc
r1196 r1227 210 210 211 211 212 // We have to get several case : 213 // - Only activate the windows (mouse click for example) -> Do not redraw 214 // - resize window -> redraw 215 // - try to avoid recompute everything if we do not rescale picture (side is the same) 216 212 217 void G4OpenGLStoredQtViewer::paintGL() 213 218 { … … 250 255 ClearView (); //ok, put the background correct 251 256 ComputeView(); 252 257 253 258 fHasToRepaint =false; 254 259
Note: See TracChangeset
for help on using the changeset viewer.