Skip to content

Commit

Permalink
change default scene import unit to meters
Browse files Browse the repository at this point in the history
  • Loading branch information
sdumetz committed Aug 29, 2023
1 parent f958cbc commit 38d0798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/server/routes/api/v1/scenes/scene/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ async function getDocument(scene:string, filepath:string){
document.scenes[0].nodes.push(document.nodes.length -1);

document.models = [{
"units": "mm",
"units": "m", //glTF specification says it's always meters. It's what blender do.
"boundingBox": meta.bounds,
"derivatives":[{
"usage": "Web3D",
Expand Down

0 comments on commit 38d0798

Please sign in to comment.