From 7d229848d5c4e212e53856ca267c0a97a5278b69 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Thu, 11 Oct 2012 06:31:23 +0200 Subject: [PATCH] bug when several String3D instance --- src/Utils/text3d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/text3d.cpp b/src/Utils/text3d.cpp index 15244f59..f829f76b 100644 --- a/src/Utils/text3d.cpp +++ b/src/Utils/text3d.cpp @@ -63,7 +63,7 @@ Strings3D::Strings3D(bool withBackground, const Geom::Vec3f& bgc, bool with_plan } else { - *m_idTexture = *(this->m_idTexture); + *m_idTexture = *(m_instance0->m_idTexture); } std::string glxvert(*GLSLShader::DEFINES_GL); -- GitLab