X Tutup
Skip to content

GLTF: Don't serialize empty material extensions#112137

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
aaronfranke:gltf-empty-mat-dict
Nov 14, 2025
Merged

GLTF: Don't serialize empty material extensions#112137
Repiteo merged 1 commit intogodotengine:masterfrom
aaronfranke:gltf-empty-mat-dict

Conversation

@aaronfranke
Copy link
Member

When exporting a glTF and serializing a material, Godot writes the "extensions" Dictionary even when it's empty:

Screenshot 2025-10-28 at 3 11 25 PM

This is useless, so this PR avoids writing it, in the same vain as PR #101275.

@Repiteo Repiteo merged commit 61a1575 into godotengine:master Nov 14, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Nov 14, 2025

Thanks!

@aaronfranke aaronfranke deleted the gltf-empty-mat-dict branch November 15, 2025 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup