Jean Daigle (jaydee++at++thor.ats.qc.ca)
Mon, 14 Aug 1995 12:36:44 -0400
On Aug 14, 8:40am, "Carlo L. Tiana" wrote:
...
} When I run this setup, I get the warning:
} Performer Warning (2): pfAddChild() group is not a pfGroup
} at the time when I try to attach the markings geode to their switch, ie:
} pfAddChild(markingsGeode2, pfSwitch2);
} Can anyone suggest what the 'proper' way to do this might be?
...
}-- End of excerpt from "Carlo L. Tiana"
According to the man page, the prototype for pfAddChild() is:
long pfAddChild(pfGroup *group, pfNode *child);
I would suggest
pfAddChild(pfSwitch2, markingsGeode2);
as the 'proper' alternative.
Regards,
Jean Daigle.
-----------------------------------------------------------------
| Jean Daigle ATS Aerospace Inc. |
| Software Designer 1250 Boul Marie-Victorin |
| St. Bruno, QC J3V 6B8 |
| jaydee++at++ats.qc.ca Tel: (514) 441-9000 Fax: (514) 441-6789 |
-----------------------------------------------------------------
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:47 PDT