Fix #104773: FBX import fails when custom property name matches an expected non-custom property #104821

Merged
Bastien Montagne merged 1 commits from Mysteryem/blender-addons:fbx_find_props_ignore_custom_pr into main 2023-08-08 16:14:44 +02:00

1 Commits

Author SHA1 Message Date
e65e9cc7cc Fix #104773: FBX import fails when custom property name matches an expected non-custom property
The importer expects some named properties to have specific types
because they are usually FBX-defined properties, but the importer was
also accepting user-defined properties with the same name, which could
have any type, causing an error to be raised when checking the
property's type.

This patch changes the importer to ignore custom properties when finding
specific properties by name.

The import of custom properties is unchanged by this patch.
2023-07-27 13:48:46 +01:00