Imported GLTF files with keyframes creates strange graphs until manually updated #63475

Closed
opened 2019-04-11 02:04:12 +02:00 by Daniel Salazar · 9 comments
Member

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 1080 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.67

Blender Version
Broken: version: 2.80 (sub 54), branch: master, commit date: 2019-04-08 19:21, hash: blender/blender@df26f28835

Short description of error
Not sure if this is an exporter/importer error or Blender is missing some kind of refresh on API created keyframes

Exact steps for others to reproduce the error
Delete all objects in the default Blender scene
Import the following GLB file using the default GLTF importer
Curves.glb
Select the body object
image.png
Open up a Graph Editor. You will see the Golden Gate before your eyes because every handle is in the 0,0 coordinate
image.png
Select all keyframes, press G and then Esc
Blender recalcs the auto handles and everything returns to normal
image.png

**System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: GeForce GTX 1080 with Max-Q Design/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.67 **Blender Version** Broken: version: 2.80 (sub 54), branch: master, commit date: 2019-04-08 19:21, hash: `blender/blender@df26f28835` **Short description of error** Not sure if this is an exporter/importer error or Blender is missing some kind of refresh on API created keyframes **Exact steps for others to reproduce the error** Delete all objects in the default Blender scene Import the following GLB file using the default GLTF importer [Curves.glb](https://archive.blender.org/developer/F6929446/Curves.glb) Select the body object ![image.png](https://archive.blender.org/developer/F6929451/image.png) Open up a Graph Editor. You will see the Golden Gate before your eyes because every handle is in the 0,0 coordinate ![image.png](https://archive.blender.org/developer/F6929443/image.png) Select all keyframes, press G and then Esc Blender recalcs the auto handles and everything returns to normal ![image.png](https://archive.blender.org/developer/F6929457/image.png)
Author
Member

Added subscriber: @zanqdo

Added subscriber: @zanqdo
Julien Duroure was assigned by Bastien Montagne 2019-04-11 07:53:32 +02:00
Member

This will be manage on upstream issue tracker:
https://github.com/KhronosGroup/glTF-Blender-IO/issues/419

This is probably linked to tangent of CUBISPLINE interpolation, that is not yet implemented

This will be manage on upstream issue tracker: https://github.com/KhronosGroup/glTF-Blender-IO/issues/419 This is probably linked to tangent of CUBISPLINE interpolation, that is not yet implemented

Added subscriber: @Rawalanche

Added subscriber: @Rawalanche

In #63475#658369, @JulienDuroure wrote:
This will be manage on upstream issue tracker:
https://github.com/KhronosGroup/glTF-Blender-IO/issues/419

155 open issues for the GLTF addon alone... ouch. I guess it will take a few more years before that one is actually usable :)

> In #63475#658369, @JulienDuroure wrote: > This will be manage on upstream issue tracker: > https://github.com/KhronosGroup/glTF-Blender-IO/issues/419 155 open issues for the GLTF addon alone... ouch. I guess it will take a few more years before that one is actually usable :)

Added subscriber: @brecht

Added subscriber: @brecht

@Rawalanche, that tracker is also used for tracking enhancements. And please stay on topic, this bug tracker is not a forum.

@Rawalanche, that tracker is also used for tracking enhancements. And please stay on topic, this bug tracker is not a forum.
Author
Member

I see the problem, but arent auto keyframes never supposed to do that? Should blender allow for that mess to begin with when setting autohandles from BPY?

I see the problem, but arent auto keyframes never supposed to do that? Should blender allow for that mess to begin with when setting autohandles from BPY?
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

This is now fixed in 5fdd91c09e

Note that I only refresh auto handle data of fcurves. Tangents from gltf file are not managed yet, still TODO

This is now fixed in 5fdd91c09edf7c5a4794a3de4fbb1a7603d609f0 Note that I only refresh auto handle data of fcurves. Tangents from gltf file are not managed yet, still TODO
Sign in to join this conversation.
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#63475
No description provided.