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)); } }