Skip to content

Blendshape->Geometry in FBX Export - #5419

Merged
kimkulling merged 2 commits into
assimp:masterfrom
JulianKnodt:fix_fbx_blend_export
Feb 5, 2024
Merged

kimkulling merged 2 commits into
assimp:masterfrom
JulianKnodt:fix_fbx_blend_export

Conversation

@JulianKnodt

Copy link
Copy Markdown
Contributor

When loading a mesh exported from assimp into Blender, it warns that it has an incorrect class. While debugging, I traced it back to this being Blendshape where Geometry was expected. This is likely because this node describes a Geometry, which is used as a blendshape. I'm not sure if any other DCC tools or places to import it expect Blendshape instead (i.e. was this code ever tested?), but it fixes its use in Blender.

Fixes #5418

Test Mesh:
headblendshape.zip
Note this is actually not the mesh I originally tested on, but the original was proprietary.

When loading a mesh exported from assimp into Blender, it warns that it has an incorrect class.
While debugging, I traced it back to this being `Blendshape` where `Geometry` was expected. This
is likely because this node describes a `Geometry`, which is used as a blendshape. I'm not sure
if any other DCC tools or places to import it expect `Blendshape` instead (i.e. was this code
ever tested?), but it fixes its use in Blender.

@kimkulling kimkulling left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine.

@kimkulling
kimkulling merged commit c877a15 into assimp:master Feb 5, 2024
@kimkulling

Copy link
Copy Markdown
Member

Merged, thanks a lot for your contribution.

@JulianKnodt
JulianKnodt deleted the fix_fbx_blend_export branch February 5, 2024 19:55
kimkulling added a commit that referenced this pull request Jul 1, 2026
When loading a mesh exported from assimp into Blender, it warns that it has an incorrect class.
While debugging, I traced it back to this being `Blendshape` where `Geometry` was expected. This
is likely because this node describes a `Geometry`, which is used as a blendshape. I'm not sure
if any other DCC tools or places to import it expect `Blendshape` instead (i.e. was this code
ever tested?), but it fixes its use in Blender.

Co-authored-by: Kim Kulling <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

Bug: Assimp FBX Blendshape export incorrect class

2 participants