Skip to content

Commit

Permalink
- added simple flat scene for files not containing a Sg
Browse files Browse the repository at this point in the history
  • Loading branch information
krauthaufen committed Jan 29, 2025
1 parent 4a50ba3 commit c0e5395
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 8 additions & 2 deletions src/Aardvark.Data.GLTF/GLTF.fs
Original file line number Diff line number Diff line change
Expand Up @@ -531,8 +531,14 @@ module GLTF =
traverse r
)
else
[||]

let node =
{
Name = None
Trafo = None
Children = []
Meshes = Array.toList (Array.concat meshes)
}
[| node |]
let root =
match roots with
| [||] -> { Name = None; Trafo = None; Meshes = []; Children = [] }
Expand Down
5 changes: 4 additions & 1 deletion src/Aardvark.Data.GLTF/RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 1.0.1
- added simple flat scene for files not containing a Sg

### 1.0.0
- Updated to NET 8 and Aardvark.Base 5.3

Expand All @@ -11,4 +14,4 @@
* updated to Aardvark.Rendering 5.4

### 0.0.1-prerelease0001
* initial version
* initial version

0 comments on commit c0e5395

Please sign in to comment.