qvolray
diff src/ui_sliceview.cc @ 28:aeef3c2ae472
the slice widget works fine
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 14 Apr 2012 16:35:30 +0300 |
parents | 011ac823600c |
children |
line diff
1.1 --- a/src/ui_sliceview.cc Sat Apr 14 06:37:31 2012 +0300 1.2 +++ b/src/ui_sliceview.cc Sat Apr 14 16:35:30 2012 +0300 1.3 @@ -1,4 +1,5 @@ 1.4 #include "ui_sliceview.h" 1.5 +#include "volray.h" 1.6 1.7 SliceGLView::SliceGLView(QGLWidget *share_widget) 1.8 : QGLWidget(QGLFormat(QGL::DoubleBuffer), 0, share_widget) 1.9 @@ -21,5 +22,5 @@ 1.10 1.11 void SliceGLView::paintGL() 1.12 { 1.13 - glClear(GL_COLOR_BUFFER_BIT); 1.14 + volray_draw_slice(); 1.15 }