From: <sv...@ww...> - 2007-06-14 05:43:28
|
Author: mkrose Date: 2007-06-13 22:43:03 -0700 (Wed, 13 Jun 2007) New Revision: 2126 Modified: trunk/csp/cspsim/wf/WindowManager.cpp Log: Another dummy commit to test the mailing list. Browse at: https://www.zerobar.net/viewcvs/viewcvs.cgi?view=rev&rev=2126 Modified: trunk/csp/cspsim/wf/WindowManager.cpp =================================================================== --- trunk/csp/cspsim/wf/WindowManager.cpp 2007-06-14 05:10:18 UTC (rev 2125) +++ trunk/csp/cspsim/wf/WindowManager.cpp 2007-06-14 05:43:03 UTC (rev 2126) @@ -114,13 +114,13 @@ m_View->setSceneData(m_Group.get()); - osg::StateSet *stateSet = m_Group->getOrCreateStateSet(); - stateSet->setRenderBinDetails(100, "RenderBin"); - stateSet->setMode(GL_LIGHTING, osg::StateAttribute::ON); - stateSet->setMode(GL_DEPTH_TEST, osg::StateAttribute::ON); + osg::StateSet *stateSet = m_Group->getOrCreateStateSet(); + stateSet->setRenderBinDetails(100, "RenderBin"); + stateSet->setMode(GL_LIGHTING, osg::StateAttribute::ON); + stateSet->setMode(GL_DEPTH_TEST, osg::StateAttribute::ON); - osg::ref_ptr<osg::BlendFunc> blendFunction = new osg::BlendFunc; - stateSet->setAttributeAndModes(blendFunction.get()); + osg::ref_ptr<osg::BlendFunc> blendFunction = new osg::BlendFunc; + stateSet->setAttributeAndModes(blendFunction.get()); } WindowManager::~WindowManager() { |