> I'm trying to a line using the following. Now, am I missing 
> something obvious here? as this code doesn't work.
> m_markerLine is a geode that contains a line drawable. 

You didn't really say HOW it's failing,m so I'm just guessing here...

> m_markerLine->getOrCreateStateSet()->setAttribute( ls.get(), 
> osg::StateAttribute::ON );

That looks suspicious. Did you mean to call setAttributeAndModes?
   -Paul

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to