Ignore:
Timestamp:
09/15/11 13:26:39 (13 years ago)
Author:
lyard
Message:
fixed viewer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc

    r12103 r12104  
    215215    if (!alsoWire)
    216216        return;
     217    glTranslatef(0,0,0.1f);
    217218    glColor3f(0.0f,0.0f,0.0f);
    218219    for (int i=0;i<ACTUAL_NUM_PIXELS;i++)
     
    518519void RawDataViewer::paintGL()
    519520{
    520     glClear(GL_COLOR_BUFFER_BIT);
     521    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    521522    glLoadIdentity();
    522523
     524    glTranslatef(0,0,-0.5);
    523525
    524526    if (drawBlur)
     
    532534        drawCamera(true);
    533535    }
     536    glTranslatef(0,0,0.1f);
    534537    if (drawPatch)
    535538        drawPatches();
    536 
     539    glTranslatef(0,0,0.1f);
    537540   if (!drawBlur)
    538541   {
     
    541544        drawHexagon(selectedPixel, false);
    542545   }
     546   glTranslatef(0,0,0.1f);
    543547   if (drawImpulse)
    544548   {
     
    548552       drawPixelCurve();
    549553   }
    550 
     554   glTranslatef(0,0,0.1f);
    551555   DrawScale();
    552556}
Note: See TracChangeset for help on using the changeset viewer.