diff options
Diffstat (limited to 'pose-widget/glwidget.cpp')
-rw-r--r-- | pose-widget/glwidget.cpp | 4 |
1 files changed, 2 insertions, 2 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) |