Set the default setting of LineWidth to 2.0 to ensure that old default behavior

is maintained.
This commit is contained in:
Robert Osfield
2008-07-16 16:05:43 +00:00
parent c3a4237e3a
commit 2fefc911fd

View File

@@ -272,7 +272,7 @@ namespace
Cartoon::Cartoon() Cartoon::Cartoon()
: Effect(), : Effect(),
_wf_mat(new osg::Material), _wf_mat(new osg::Material),
_wf_lw(new osg::LineWidth), _wf_lw(new osg::LineWidth(2.0f)),
_lightnum(0) _lightnum(0)
{ {
setOutlineColor(osg::Vec4(0, 0, 0, 1)); setOutlineColor(osg::Vec4(0, 0, 0, 1));