pfGetChanESky and pfGetCurLights

New Message Reply Date view Thread view Subject view Author view

From: Ahmet Yalin Kecik (Yalin.Kecik++at++mchp.siemens.de)
Date: 11/15/2000 03:29:08


Hi performers,

I think there are two bugs in performer.

First:

----

if there is no pfEarthSky in pfChannel, an error occurs when calling the

function pfGetChanESky():

pfEarthSky *es; es = pfGetChanESky(chan);

the pointer es it not NULL !!

Seccond: -------

pfLight* lightArray[PF_MAX_LIGHTS];

for(i = 0; i < PF_MAX_LIGHTS; i++) lightArray[i] = NULL;

numLights = pfGetCurLights(lightArray);

The function pfGetCurLights() makes SEGFAULT, when no pfLights are set. But not in every program. I tried this with the sample program /usr/share/Performer/src/pguide/libpf/C/morph_engine.c

Any help to handle this bugs would be appreciated.

I am using the Performer 2.3.1 and Linux

----- Yalin Kecik yalin.kecik++at++mchp.siemens.de


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 01:12:44 PST

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