From: Dimi (christop++at++fhw.gr)
Date: 04/18/2002 01:00:11
Hi,
I am trying to change the texture in an object that has been loaded
previously
with pfdLoadFile. For that I create a new pfTexture, load the texture in
and replace
the existing attributes of the pfGeoStates. Before replacing I recove
rthe prevous pfTexture objects
(if ther are any) and try to pfDelete them.
Unfortunately pfDelete always returns FALSE (ie the objects wont get
deleted). To check
why this happens I looked at the reference count of each pfTexture and
it was 3.
So its logical that the pfDelete did not take place, but I dont
understand why since I just load up a model.
Is there a way to delete these objects cleanly without pfFree.
Thanks
This archive was generated by hypermail 2b29 : Thu Apr 18 2002 - 00:57:40 PDT