FBX IO: UVs access with new uv property #104650

Merged
Bastien Montagne merged 1 commits from Mysteryem/blender-addons:fbx_update_uvs_api_pr into main 2023-06-26 15:35:52 +02:00
Member

Blender 3.5 moved UV layers to a generic attribute also accessible from
the new uv property of the UV layer. The old API still works for now,
but is slower and may be removed in 4.0, so this patch updates FBX IO to
use the new uv property.

There is no performance difference between accessing the UVs through the
foreach_get/set functions of the attribute and the uv property.

Blender 3.5 moved UV layers to a generic attribute also accessible from the new `uv` property of the UV layer. The old API still works for now, but is slower and may be removed in 4.0, so this patch updates FBX IO to use the new `uv` property. There is no performance difference between accessing the UVs through the foreach_get/set functions of the attribute and the `uv` property.
Thomas Barlow requested review from Bastien Montagne 2023-05-29 05:45:56 +02:00
Thomas Barlow force-pushed fbx_update_uvs_api_pr from 0a2249eb0e to 27bab6203d 2023-06-26 05:01:07 +02:00 Compare
Bastien Montagne approved these changes 2023-06-26 15:35:38 +02:00
Bastien Montagne merged commit 204a6ef7b5 into main 2023-06-26 15:35:52 +02:00
Bastien Montagne deleted branch fbx_update_uvs_api_pr 2023-06-26 15:35:53 +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#104650
No description provided.