diff --git a/src/plugins/scene3d/Scene3D.cc b/src/plugins/scene3d/Scene3D.cc index dece47e7f..43679d02d 100644 --- a/src/plugins/scene3d/Scene3D.cc +++ b/src/plugins/scene3d/Scene3D.cc @@ -137,10 +137,11 @@ void IgnRenderer::Render() this->textureSize.height()); // setting the size should cause the render texture to be rebuilt this->dataPtr->camera->PreRender(); - this->textureId = this->dataPtr->camera->RenderTextureGLId(); this->textureDirty = false; } + this->textureId = this->dataPtr->camera->RenderTextureGLId(); + // view control this->HandleMouseEvent();