Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - banuse

Pages: [1]
1
Development Deliberation /
« on: September 28, 2005, 06:14:22 pm »
yeah,this is my modification:

in pscal3dcallback.h class psCal3DCallbackLoader definition do following modify

csPtr Parse(iDocumentNode * node, iStreamSource* ssource, iLoaderContext * ldr_context, iBase * context);

in pscal3dcallback.cpp modify the Parse implementation function

csPtr psCal3DCallbackLoader::Parse(iDocumentNode * node, iStreamSource* ssource, iLoaderContext * ldr_context, iBase * context)
{
 csRef fact;
 fact = SCF_QUERY_INTERFACE (context, iMeshObjectFactory);

   csRef fcal3dsprite = SCF_QUERY_INTERFACE(fact, iSpriteCal3DFactoryState);
    // turn the iBase into an iSpriteCal3DFactoryState so we can use it
    //csRef fcal3dsprite = SCF_QUERY_INTERFACE(((iMeshFactoryWrapper *)context)->GetMeshObjectFactory(), iSpriteCal3DFactoryState);


thats all,

Pages: [1]