GLB Exports with keyframes on static objects #104417

Closed
opened 2023-02-17 10:01:43 +01:00 by eric · 3 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 528.49

Blender Version
Broken: version: 3.3.3, branch: master, commit date: 2023-01-17 08:40, hash: rB8d94aeb604fa
Worked: (newest version of Blender that worked as expected)

Short description of error
When exporting a glb (ticking the box [v]selected objects) with some animations on it, even the static objects with no animations on them get few random keyframes (inspected using gltf report)

Exact steps for others to reproduce the error
I have tried to export a glb, also ticked the box [v] selected objects to export only the selected objects, I have noticed after inpecting it in gltf report (https://gltf.report/) that the file contains animations even on static objects that has no keyframes on and not connected in a ny way to an animated object.

After many tries, I have noticed that when unticking the []selected objects tick box the export worked as intended. That seems like a bug for me.

I am attaching a few simple examples files for you to look at.
The issue still persists in the new 3.4.1

System Information Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 528.49 Blender Version Broken: version: 3.3.3, branch: master, commit date: 2023-01-17 08:40, hash: rB8d94aeb604fa Worked: (newest version of Blender that worked as expected) Short description of error When exporting a glb (ticking the box [v]selected objects) with some animations on it, even the static objects with no animations on them get few random keyframes (inspected using gltf report) Exact steps for others to reproduce the error I have tried to export a glb, also ticked the box [v] selected objects to export only the selected objects, I have noticed after inpecting it in gltf report (https://gltf.report/) that the file contains animations even on static objects that has no keyframes on and not connected in a ny way to an animated object. After many tries, I have noticed that when unticking the []selected objects tick box the export worked as intended. That seems like a bug for me. I am attaching a few simple examples files for you to look at. The issue still persists in the new 3.4.1
eric added the
Type
Report
label 2023-02-17 10:01:43 +01:00
Julien Duroure self-assigned this 2023-02-17 18:09:15 +01:00
Member

Hello,
This is an intentional behavior.
When exporting selected object only, all objects animation are baked, for taking into account non animated objects, but with non selected animated parent.
When can remove all static objects animation by selecting the option "Optimize Animation Size" at export.
This behavior will be changed in Blender 3.6, where baking objects animation will be off by default. (to be committed in the following hours).

Keeping this ticket open until the commit is done.

Hello, This is an intentional behavior. When exporting selected object only, all objects animation are baked, for taking into account non animated objects, but with non selected animated parent. When can remove all static objects animation by selecting the option "Optimize Animation Size" at export. This behavior will be changed in Blender 3.6, where baking objects animation will be off by default. (to be committed in the following hours). Keeping this ticket open until the commit is done.
Author

I see..
I'm glad it is going to change as it is a bit confusing and unnecessary in my opinion.

btw when optimizing the animation size some of the animation get broken easpecially armatures s I did try to use that before.

I see.. I'm glad it is going to change as it is a bit confusing and unnecessary in my opinion. btw when optimizing the animation size some of the animation get broken easpecially armatures s I did try to use that before.
Brecht Van Lommel added the
Priority
Normal
Status
Needs Triage
labels 2023-02-21 11:20:22 +01:00
Member

Hello,
This is now fixed in 67a6cae17b

Hello, This is now fixed in 67a6cae17b94e0279e00fe0955a134f3199d4763
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-02-23 07:41:14 +01:00
Sign in to join this conversation.
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#104417
No description provided.