Fix disparity of FBX custom properties import and export #104702

Merged
Bastien Montagne merged 1 commits from Mysteryem/blender-addons:fbx_custom_prop_parity_pr into blender-v3.6-release 2023-06-21 15:52:58 +02:00
Member

Light, camera, bone and pose bone properties are now imported to match
the exporter behaviour.

Image custom properties are now exported to match the importer
behaviour, except for Image custom properties that are rarely imported
from a Texture Node instead of a Video Node, which are always exported
to a Video Node.

This resolves one of the issues in #104677.

Light, camera, bone and pose bone properties are now imported to match the exporter behaviour. Image custom properties are now exported to match the importer behaviour, except for Image custom properties that are rarely imported from a Texture Node instead of a Video Node, which are always exported to a Video Node. This resolves one of the issues in #104677.
Thomas Barlow added 7 commits 2023-06-18 18:02:50 +02:00
Set use_smooth to false if smooth group is zero
Added alternatively parent_name chunk wich blender can use for hierachy
Add parent from parent_name chunk if not None
Removed unused code
Cleanup
Warning not needed anymore
Fixed constrain size calculation
Fixed object instancing
Light, camera, bone and pose bone properties are now imported to match
the exporter behaviour.

Image custom properties are now exported to match the importer
behaviour, except for Image custom properties that are rarely imported
from a Texture Node instead of a Video Node, which are always exported
to a Video Node.

This resolves one of the issues in #104677.
Thomas Barlow changed title from Fix disparity of FBX custom properties import and export to Fix disparity of FBX custom properties import and export 2023-06-18 18:03:05 +02:00
Thomas Barlow changed target branch from main to blender-v3.6-release 2023-06-18 18:03:05 +02:00
Thomas Barlow requested review from Bastien Montagne 2023-06-18 19:05:12 +02:00
Member

This could help stop so much custom jumping through hoops, custom addons to export to .json and lost data for artists not realizing this is a problem. Thank you for working on this patch.

This could help stop so much custom jumping through hoops, custom addons to export to .json and lost data for artists not realizing this is a problem. Thank you for working on this patch.
Bastien Montagne approved these changes 2023-06-21 15:52:26 +02:00
Bastien Montagne merged commit 716702b97e into blender-v3.6-release 2023-06-21 15:52:58 +02:00
Bastien Montagne deleted branch fbx_custom_prop_parity_pr 2023-06-21 15:52:58 +02:00
Member

Having a second patch to support animation would be good.

Here is an older addon that was to get around the lack of it in the exporter

https://mosthostla.com/gamedev/ue4curves/

this imports the animation and exports it on at least armature level custom properties

Having a second patch to support animation would be good. Here is an older addon that was to get around the lack of it in the exporter https://mosthostla.com/gamedev/ue4curves/ this imports the animation and exports it on at least armature level custom properties
First-time contributor

Having a second patch to support animation would be good.

Seconded - I imagine it'd be a bit more work than the much appreciated import-export-parity patch, but it'd also make those now-better-supported properties substantially more useful (there's a LOT more you can do with animated properties than just static ones).

> Having a second patch to support animation would be good. Seconded - I imagine it'd be a bit more work than the much appreciated import-export-parity patch, but it'd also make those now-better-supported properties _substantially_ more useful (there's a LOT more you can do with animated properties than just static ones).
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
4 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#104702
No description provided.