diff options
Diffstat (limited to 'pose-widget')
-rw-r--r-- | pose-widget/glwidget.cpp | 4 | ||||
-rw-r--r-- | pose-widget/glwidget.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pose-widget/glwidget.cpp b/pose-widget/glwidget.cpp index a6425fde..b2ec68a7 100644 --- a/pose-widget/glwidget.cpp +++ b/pose-widget/glwidget.cpp @@ -28,7 +28,7 @@ GLWidget::~GLWidget() void GLWidget::paintEvent ( QPaintEvent * event ) { QPainter p(this); project_quad_texture(); - p.drawImage(event->rect(), texture); + p.drawImage(event->rect(), image); } void GLWidget::rotateBy(float xAngle, float yAngle, float zAngle, float x, float y, float z) @@ -231,7 +231,7 @@ void GLWidget::project_quad_texture() { } } } - this->texture = texture; + image = texture; } GLWidget::vec2 GLWidget::project(const vec3 &point) diff --git a/pose-widget/glwidget.h b/pose-widget/glwidget.h index 8896a3cf..25823985 100644 --- a/pose-widget/glwidget.h +++ b/pose-widget/glwidget.h @@ -41,5 +41,5 @@ private: vec3 translation; QImage front; QImage back; - QImage texture; + QImage image; }; |