mirror of
https://github.com/storytold/spark.git
synced 2026-10-24 08:36:08 +00:00
Don't transform splats when transcoding in viewer.
This commit is contained in:
@@ -314,11 +314,6 @@
|
|||||||
const fileInfo = {
|
const fileInfo = {
|
||||||
fileBytes: fileBytes,
|
fileBytes: fileBytes,
|
||||||
pathOrUrl: fileName,
|
pathOrUrl: fileName,
|
||||||
transform: {
|
|
||||||
translate: loadedSplat.position.toArray(),
|
|
||||||
quaternion: loadedSplat.quaternion.toArray(),
|
|
||||||
scale: (loadedSplat.scale.x + loadedSplat.scale.y + loadedSplat.scale.z) / 3
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const transcodeInfo = {
|
const transcodeInfo = {
|
||||||
|
|||||||
Reference in New Issue
Block a user