
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have Python code that clones an FbxMesh like this:
new_mesh = old_mesh.Clone(FbxCommon.FbxObject.eDeepClone, dest_scene)
logging.info("Data types: %s %s", old_mesh, new_mesh)
Strangely, this sometimes, and intermittently, returns an FbxNode rather than an FbxMesh as the type of the cloned object:
INFO: Data types: <fbx.FbxMesh object at 0x7f49a6e27050> <fbx.FbxNode object at 0x7f49a6ddb8a0>
I was running the same code with the 2018.1 version of the SDK without problem for a year or so, but since updating to 2019.5 this happens fairly regularly - roughly half the time I run the script on a dataset.
Unfortunately I can't share the larger code or data since both are very large.
I haven't been able to create a simple case to reproduce yet.
I saw some mention of Clone() being unsafe, but there are also recent SDK updates saying the problems have been resolved.
FbxCloneManager does not appear to be available in the Python SDK.
Solved! Go to Solution.