Skip to content

Commit

Permalink
move the scorrplot plot lines to the background
Browse files Browse the repository at this point in the history
  • Loading branch information
mckennapsean committed Jan 7, 2015
1 parent 1f1ce3d commit e19a84d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions src/DensityProjectionDEL.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ class DensityProjectionDEL : public DisplayElement{

glMatrixMode(GL_MODELVIEW);
glLoadIdentity();

// draw background plot first
glCallList(circleDL);
//glCallList(linesDL);
drawLines();

//glPushName(-1);
glPointSize(pointSize);
Expand Down Expand Up @@ -203,10 +208,6 @@ class DensityProjectionDEL : public DisplayElement{
glEnd();
*/

glCallList(circleDL);
//glCallList(linesDL);
drawLines();


if(isInside(xM, yM)){
//draw pick rectangle
Expand Down
9 changes: 5 additions & 4 deletions src/ProjectionDEL.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ class ProjectionDEL : public DisplayElement{

glMatrixMode(GL_MODELVIEW);
glLoadIdentity();

// draw background plot first
glCallList(circleDL);
//glCallList(linesDL);
drawLines();

//glPushName(-1);
glPointSize(pointSize);
Expand Down Expand Up @@ -179,10 +184,6 @@ class ProjectionDEL : public DisplayElement{
glEnd();
*/

glCallList(circleDL);
//glCallList(linesDL);
drawLines();


if(isInside(xM, yM)){
//draw pick rectangle
Expand Down

0 comments on commit e19a84d

Please sign in to comment.