Skip to content

Save Selection

Latest

Choose a tag to compare

@riouxr riouxr released this 10 Aug 17:30

Fixes a crash when exporting a selection in Blender 5.2 (#2).

bpy.data.libraries.write() segfaults in 5.2 when passed a scene created by bpy.data.scenes.new() — even an empty one. The export built its temporary scene that way, so every export crashed. The temp scene is now created with scene.copy() and stripped back to empty instead.

Also in this release:

  • a failed export no longer leaves _temp collection names and a stray scene behind in your working file
  • the exported .blend now inherits the source scene's render settings (engine, resolution, fps) instead of Blender defaults

Verified on Blender 4.2.9, 4.5.3, 5.0.1, 5.1.2 and 5.2.0.