Skip to content

[Feature request] Export image with its name rather than just the GLTF's name + number #220

@MeltyPlayer

Description

@MeltyPlayer

One small issue I've noticed with SharpGLTF is that it exports satellite images as [GLTF name]_0.png, [GLTF name]_1.png, etc. rather than using the name passed into ImageBuilder.Name. I noticed that this is because of the following line in the export logic:

var iname = this._images.Count != 1 ? $"{baseName}_{i}" : $"{baseName}";

I was hoping to request that the actual name be used instead, only falling back to the number approach if the name(s) were null.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions