gerwindehaan / osgswig

Python bindings for OpenSceneGraph (auto-export from code.google.com/p/osgswig)
Other
1 stars 1 forks source link

Missing Traits #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When I try to generate a rendering context I need to instantiate
osg::GraphicsContext::Traits in C. In python's osgswig, there seems to be
no osg.GraphicsContext.Traits.
Furthermore, in the gtkosgwidget.py example, there is a line 
   self.traits = osg.Traits()
But also directly in the osg module there is no class Traits.

Is this a problem with my osgswig installation or where is the Traits class?
Or is there another way to instantiate a rendering context?

Original issue reported on code.google.com by Franz...@gmail.com on 11 Mar 2009 at 5:18

GoogleCodeExporter commented 9 years ago
Added the nested class for GraphicsContext in r198, please report back

Original comment by gerwinde...@gmail.com on 24 Mar 2009 at 5:47

GoogleCodeExporter commented 9 years ago
osg.GraphicsContext.Traits avaiable from r255

Original comment by gerwinde...@gmail.com on 7 Apr 2010 at 8:48