The new Inventor 2.0 loader and NodeKits

New Message Reply Date view Thread view Subject view Author view

Henrik Tramberend (henrik++at++hertie.artcom.de)
Wed, 11 Jan 1995 13:00:59 +0001 (MET)


Hi,

if you need to load Inventor files which contain NodeKits, you may want
to add two lines of code to pfivcc.h and pfivcc.C.

pfivcc.h:

  #include <Inventor/nodes/SoNodes.h>
  #include <Inventor/nodekits/SoNodeKit.h> <<< add this line
  #include <Inventor/SoType.h>

pfivcc.C:

  SoDB::init();
  SoNodeKit::init(); <<< add this line

Then, recompile.

ciao
henrik

------------------------------------------------------------------------
Henrik Tramberend Phone: +49(30)25417.3
Art+Com e.V. Fax: +49(30)25417.555
Berlin, Germany E-Mail: henrik++at++artcom.de


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:50:51 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.