Skip to content

Commit

Permalink
update download VRM call
Browse files Browse the repository at this point in the history
  • Loading branch information
memelotsqui committed Nov 2, 2023
1 parent 08dafdf commit 24a63fc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/Optimizer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { AudioContext } from "../context/AudioContext"
import FileDropComponent from "../components/FileDropComponent"
import { getFileNameWithoutExtension } from "../library/utils"
import { loadVRM, addVRMToScene } from "../library/load-utils"
import { downloadVRM } from "../library/download-utils"

function Optimizer({
animationManager,
Expand All @@ -31,6 +32,8 @@ function Optimizer({
const download = () => {
console.log("merge and download logic");
console.log(currentVRM);
const vrmData = currentVRM.userData.vrm
downloadVRM(model, vrmData,"test",null,4096,1,true, null, true)
}

// const debugMode = () =>{
Expand Down

0 comments on commit 24a63fc

Please sign in to comment.