Skip to content

Commit

Permalink
Add SMD Animation export/replace
Browse files Browse the repository at this point in the history
  • Loading branch information
KillzXGaming committed Jul 23, 2024
1 parent a4df85b commit cbb3aec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Plugins/CafeLibrary/Bfres/Animations/BfresSkeletalAnim.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,7 @@ private void ExportAction()
dlg.AddFilter(".bfska", ".bfska");
dlg.AddFilter(".json", ".json");
dlg.AddFilter(".anim", ".anim");
//dlg.AddFilter(".gltf", ".gltf");
//dlg.AddFilter(".glb", ".glb");
dlg.AddFilter(".smd", ".smd");

if (dlg.ShowDialog())
{
Expand All @@ -117,6 +116,7 @@ private void ExportAction()
case ".anim":
case ".gltf":
case ".glb":
case ".smd":
var models = GetActiveSkeletonModels();
if (models.Count == 1)
{
Expand Down Expand Up @@ -168,8 +168,10 @@ private void ReplaceAction()
dlg.AddFilter(".bfska", ".bfska");
dlg.AddFilter(".json", ".json");
dlg.AddFilter(".anim", ".anim");
// dlg.AddFilter(".gltf", ".gltf");
// dlg.AddFilter(".glb", ".glb");
dlg.AddFilter(".smd", ".smd");

// dlg.AddFilter(".gltf", ".gltf");
// dlg.AddFilter(".glb", ".glb");

if (dlg.ShowDialog())
{
Expand All @@ -178,7 +180,7 @@ private void ReplaceAction()
case ".anim":
case ".gltf":
case ".glb":

case ".smd":
var models = GetActiveSkeletonModels();
if (models.Count == 1)
{
Expand Down
Binary file modified Track Studio/Lib/IONET.dll
Binary file not shown.
3 changes: 3 additions & 0 deletions Track Studio/TrackStudio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@
<Reference Include="ImGui.NET">
<HintPath>Lib\ImGui.NET.dll</HintPath>
</Reference>
<Reference Include="IONET">
<HintPath>Lib\IONET.dll</HintPath>
</Reference>
<Reference Include="OpenTK">
<HintPath>Lib\OpenTK.dll</HintPath>
</Reference>
Expand Down

0 comments on commit cbb3aec

Please sign in to comment.