Stefan Gutapfel (guti++at++hni.uni-paderborn.de)
Sat, 23 Aug 1997 12:59:24 -0600
I have implemented a new node class by subclassing the performer node
class pfGroup and adding addtional data member fields and functions.
Creating instances of the new node class (using the "new" operator)
and adding them to the scene graph works quite well. The performer
sample application "perfly" displays the scene without any errors or
warnings.
But when I create an instance and try to create clones by invoking
the inherited method "clone" on it, displaying the scene with perfly
causes a segmenation fault.
I tried to implement a new "clone"-method that copies the additional
data member fields first and then invokes the parent "clone"-method,
but the result was the same (segmanetation fault).
(I compiled the source code on an Indigo2 with IRIX 6.2, Maximum
Impact graphics board and Performer 2.0)
What am I doing wrong ?
Thanks,
Stefan.
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:46 PDT