gltf export .bin filename doesn't match .gltf filename after a Blender SaveAs #62426

Closed
opened 2019-03-10 19:55:50 +01:00 by Carl Fravel · 9 comments

System Information
Operating system: Windows 10 Home
Graphics card: nVidia GTX 1070

Blender Version
Broken: 2.80, e5ab2b9c629e

Short description of error
Blender File SaveAs changes the next gltf file export .gltf name, but not the .bin name

Exact steps for others to reproduce the error
I opened Modular-Building-1-v1.7.blend
I did a gltf unembedded export
As expected, I got Modular-Building-1-v1.7.gltf and Modular-Building-1-v1.7.bin
I did a Blender File SaveAs to Modular-Building-1-v1.7-BFCSO.blend
I deleted many objects, leaving just the portion for which I want a separate .gltf/.bin etc.
I did a gltf unembedded export
Expected: get Modular-Building-1-v1.7-BFCSO.gltf and Modular-Building-1-v1.7-BFCSO.bin
Actual: got Modular-Building-1-v1.7-BFCSO.gltf but Modular-Building-1-v1.7.bin

Getting both files renamed by default (so .bin name follows the .gltf name) is better when one is trying to use several .gltf/.bin pairs with shared materials all in the same dir.

Modular-Building-1-v1.7-BFCSO.blend

**System Information** Operating system: Windows 10 Home Graphics card: nVidia GTX 1070 **Blender Version** Broken: 2.80, e5ab2b9c629e **Short description of error** Blender File SaveAs changes the next gltf file export .gltf name, but not the .bin name **Exact steps for others to reproduce the error** I opened Modular-Building-1-v1.7.blend I did a gltf unembedded export As expected, I got Modular-Building-1-v1.7.gltf and Modular-Building-1-v1.7.bin I did a Blender File SaveAs to Modular-Building-1-v1.7-BFCSO.blend I deleted many objects, leaving just the portion for which I want a separate .gltf/.bin etc. I did a gltf unembedded export Expected: get Modular-Building-1-v1.7-BFCSO.gltf and Modular-Building-1-v1.7-BFCSO.bin Actual: got Modular-Building-1-v1.7-BFCSO.gltf but Modular-Building-1-v1.7.bin Getting both files renamed by default (so .bin name follows the .gltf name) is better when one is trying to use several .gltf/.bin pairs with shared materials all in the same dir. [Modular-Building-1-v1.7-BFCSO.blend](https://archive.blender.org/developer/F6796279/Modular-Building-1-v1.7-BFCSO.blend)
Author

Added subscriber: @CarlFravel

Added subscriber: @CarlFravel
Author

On further examination, it appears that the bug is that the bin filename gets truncated at the first "." instead of the last one.

On further examination, it appears that the bug is that the bin filename gets truncated at the first "." instead of the last one.
Author

yes, if i do a SaveAs of the blender file to "Modular-Building-1-v1p7-BFCSO.blend, then the .gltf and .bin filenames are matched and correct.

yes, if i do a SaveAs of the blender file to "Modular-Building-1-v1p7-BFCSO.blend, then the .gltf and .bin filenames are matched and correct.
Author

Retested in 40412499433e
Confirmed that Bug is still present
The truncation of the .bin filename still occurs at a "." that exists in the blend filename before the final ".blend" (but the .gltf filename remains complete/correct)

Retested in 40412499433e Confirmed that Bug is still present The truncation of the .bin filename still occurs at a "." that exists in the blend filename before the final ".blend" (but the .gltf filename remains complete/correct)
Julien Duroure was assigned by Bastien Montagne 2019-03-12 11:19:27 +01:00
Member

Added subscriber: @elm19087

Added subscriber: @elm19087
Member
Upstream issue: https://github.com/KhronosGroup/glTF-Blender-IO/issues/358

This issue was referenced by 1fe2251292

This issue was referenced by 1fe2251292952c46aceed8f5690d6c53b1c23432
Member

Changed status from 'Open' to: 'Resolved'

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

Should be fixed now

Should be fixed now
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#62426
No description provided.