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
Member

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.

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.
Thomas Barlow added 1 commit 2023-08-06 17:18:58 +02:00
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.
Thomas Barlow requested review from Bastien Montagne 2023-08-06 19:07:50 +02:00
Bastien Montagne approved these changes 2023-08-08 16:13:39 +02:00
Bastien Montagne merged commit 9254557d0b into main 2023-08-08 16:14:44 +02:00
Bastien Montagne deleted branch fbx_find_props_ignore_custom_pr 2023-08-08 16:14:46 +02:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#104821
No description provided.