Re: pfLayer does not set it's type field

New Message Reply Date view Thread view Subject view Author view

Mario Veraart (rioj7++at++fel.tno.nl)
Tue, 10 Jun 1997 11:42:40 +0200 (MET DST)


Sharon Clay wrote:
> +>---- On Jun 5, 10:13pm, Mario Veraart wrote:
> > Subject: pfLayer does not set it's type field
> ->
> ->Hello Performer users,
> ->
> ->I just stumbled during debugging at the following bug in the performer 2.0
> ->libs. When I try to so the following line
> ->
> -> if (node->isOfType(pfLayer::getClassType))
> -> {
> -> }
> ->and node IS of type Layer, the debugger signals that the field
> -> pfLayer::type is NULL and so the test can't be executed, see pfMemory.h.
>
> It works fine - you just have a typo. getClassType() is a method you
> need to call:
I made a type in constructing the mail. The compiler would have complained if
I had forgotten the () characters. I also run the program on an Octane with
Performer 2.1 and he doesn't core dump. I will try it again on the
Max Impact and see if it's related to some other coding error.
Good to know that the initialisation of the pfLayer node is ok.

Mario
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com
   SGI DevForum 97 info: http://www.sgi.com/Forum97/


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:55:25 PDT

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