mirror of
https://github.com/xivdev/Penumbra.git
synced 2026-02-18 13:57:46 +01:00
Export to .glb
This commit is contained in:
parent
fd1f9b95d6
commit
dbfaf37800
2 changed files with 3 additions and 3 deletions
|
|
@ -145,8 +145,8 @@ public partial class ModEditWindow
|
|||
|
||||
if (ImGuiUtil.DrawDisabledButton("Export to glTF", Vector2.Zero, "Exports this mdl file to glTF, for use in 3D authoring applications.",
|
||||
tab.PendingIo || gamePath.IsEmpty))
|
||||
_fileDialog.OpenSavePicker("Save model as glTF.", ".gltf", Path.GetFileNameWithoutExtension(gamePath.Filename().ToString()),
|
||||
".gltf", (valid, path) =>
|
||||
_fileDialog.OpenSavePicker("Save model as glTF.", ".glb", Path.GetFileNameWithoutExtension(gamePath.Filename().ToString()),
|
||||
".glb", (valid, path) =>
|
||||
{
|
||||
if (!valid)
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue