Page MenuHome

glTF 2.0 exporter exports previously deleted objects
Closed, ResolvedPublic

Description

System Information
Operating system: Windows 7, 64 bit
Graphics card: Nvidia GeForce GTX 760

Blender Version
Broken: 2.80: 2019-06-08 13:24 (81b68f7279cd) --> self compiled

Short description of error
Blender seems to cache deleted objects under some circumstances. If a mesh is exported to glTF 2.0 where another mesh was attached hierarchically. This deleted mesh is exported to the glTF file.

Exact steps for others to reproduce the error

  1. Open Blender and load the attached demo file
  2. Delete the object (mesh) "sub-object" which is attached to "top-object"
  3. Select: File -> Export -> glTF 2.0 (.glb/.gltf)
  4. Export the file (default settings)
  5. Open a new Blender instance
  6. Select File -> Import -> glTF 2.0 (.glb/.gltf)
  7. Import the previously exported glTF file
  8. The deleted object "sub-object" is here again

Demo file

Logs
The Export logs of the glTF exporter reports:

'[BLENDER-BIN-FOLDER]2.80\python\lib\site-packages\extern_draco.dll' exists, draco mesh compression is available
20:58:55 | INFO: Starting glTF 2.0 export
20:58:55 | INFO: Extracting primitive: sub-mesh --> This should not be here
20:58:55 | DEBUG: Adding primitive without splitting. Indices: 6 Vertices: 4
20:58:55 | INFO: Primitives created: 1
20:58:55 | INFO: Extracting primitive: top-mesh
20:58:55 | DEBUG: Adding primitive without splitting. Indices: 36 Vertices: 24
20:58:55 | INFO: Primitives created: 1
20:58:55 | INFO: Finished glTF 2.0 export in 0.014001607894897461 s

Details

Type
Bug

Event Timeline

Hello,
Note that discussion will take place in upstream repository bug tracker : https://github.com/KhronosGroup/glTF-Blender-IO/issues/537

Julien DUROURE (julien) closed this task as Resolved.Jun 23 2019, 10:02 AM