|
Viviane,
Thanks a lot for your response. It helps, and my code is working again to some degree. However, now I am getting a crash in KFCurve destructor.
Is it also true that if KFbxSdkManager is destroyed, the KFCurve globals are de-allocated?
The sequence of events in my application is like this:
1. Create FCurves and save them
2. Create manager and scene
3. Copy curves into scene
4. Export scene into a file
5. Destroy manager and scene
6. Destroy FCurves
Steps 2-5 could be repeated multiple times. Now after using KFCurve::AllocateGlobals() before the step 1, everything works once, but still crashes on subsequent execution of steps 2-5 and on destroying fcurves.
Does it mean I have to always have one manager instantiated so that I can user the FCurves?
Thanks again,
—Matt
Author: quarterdome
|