I attached a new version of the test case, in case someone has the
time to help. Maybe my `apply` method is not taken into account by the
`accept` one?
Solved. I just needed to change apply() into apply_Node(). There is an
example there:
Hi Martin,
2009/8/15 Mamu ma...@gmx.de:
My guess is that you need to call the base class constructor like this:
class WithInitNodeVisitor(osg.NodeVisitor):
def __init__(self):
osg.NodeVisitor.__init__(self) #-- !!
you guessed right, thanks! Now, my example does not fail anymore,
Hi!
My guess is that you need to call the base class constructor like this:
class WithInitNodeVisitor(osg.NodeVisitor):
def __init__(self):
osg.NodeVisitor.__init__(self) #-- !!
Cheers,
Martin
Sébastien Barthélemy schrieb:
Hello,
I'm trying to use node visitors from python
Hello,
I'm trying to use node visitors from python 2.6 with osg 2.6 and
osgswig. However
for some reason I cannot use a subclass of osg.NodeVisitor. I crafted a simple
illustrative example that fails with this message:
/home/seb/Devel/arboris-python/tst_nv.pyc in test()
4 matches
Mail list logo