Skip to content

Commit d740d3d

Browse files
committed
Fix missing export error message
1 parent d43b0ea commit d740d3d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ShapeScript/Scene+SceneKit.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public extension SCNNode {
5151

5252
// debug bounds
5353
// self.addChildNode(SCNNode(
54-
// geometry: SCNGeometry(geometry.bounds)
54+
// geometry: SCNGeometry(geometry.overestimatedBounds)
5555
// ))
5656

5757
// debug holes
@@ -296,7 +296,7 @@ public extension Geometry {
296296
scnGeometry,
297297
materialLookup: Material.init(_:)
298298
) else {
299-
throw ProgramError.unknownError(nil)
299+
throw ProgramError.unknownError("Failed to export file")
300300
}
301301
type = .mesh(mesh)
302302
} else {

0 commit comments

Comments
 (0)