From a2e2c99167076c44e029faab737e8895ef7cc104 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Tue, 28 Feb 2017 18:48:33 +0100 Subject: [PATCH] #1243 AppFwk : Fixed typo in mesh line effect --- Fwk/AppFwk/CommonCode/cafEffectGenerator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fwk/AppFwk/CommonCode/cafEffectGenerator.cpp b/Fwk/AppFwk/CommonCode/cafEffectGenerator.cpp index 5cc34f36e6..27dbed2020 100644 --- a/Fwk/AppFwk/CommonCode/cafEffectGenerator.cpp +++ b/Fwk/AppFwk/CommonCode/cafEffectGenerator.cpp @@ -868,7 +868,7 @@ void MeshEffectGenerator::updateForShaderBasedRendering(cvf::Effect* effect) con if (m_lineWidth < cvf::UNDEFINED_FLOAT) { - eff->setRenderState(new cvf::RenderStateLine(3.0f)); + eff->setRenderState(new cvf::RenderStateLine(m_lineWidth)); } }