Skip to content

Commit c6c0fee

Browse files
committed
add export test button unmerged
1 parent eecd636 commit c6c0fee

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/components/ExportMenu.jsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ export const ExportMenu = ({getFaceScreenshot}) => {
4949
downloadVRM(model, avatar, name, screenshot, 4096,templateInfo.exportScale||1, true, templateInfo.vrmMeta,false)
5050
}}
5151
/>
52+
<CustomButton
53+
theme="light"
54+
text="VRM merged"
55+
icon="download"
56+
size={14}
57+
className={styles.button}
58+
onClick={() => {
59+
const screenshot = getFaceScreenshot();
60+
downloadVRM(model, avatar, name, screenshot, 4096,templateInfo.exportScale||1, true, templateInfo.vrmMeta,true)
61+
}}
62+
/>
5263
</React.Fragment>
5364
)
5465
}

0 commit comments

Comments
 (0)