Skip to content

Commit

Permalink
Update v3.0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunaretic committed Jul 17, 2024
2 parents d2aafc8 + ffa6bba commit e12c139
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 5 deletions.
6 changes: 3 additions & 3 deletions FFXIV_TexTools/FFXIV_TexTools.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
<Product>FFXIV_TexTools</Product>
<Copyright>Copyright © 2024</Copyright>

<ApplicationVersion>3.0.7.1</ApplicationVersion>
<AssemblyVersion>3.0.7.1</AssemblyVersion>
<FileVersion>3.0.7.1</FileVersion>
<ApplicationVersion>3.0.7.2</ApplicationVersion>
<AssemblyVersion>3.0.7.2</AssemblyVersion>
<FileVersion>3.0.7.2</FileVersion>

<LangVersion>9.0</LangVersion>
<UseWPF>true</UseWPF>
Expand Down
30 changes: 29 additions & 1 deletion FFXIV_TexTools/Views/Models/ModelInspector.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ private void OtherDataComboBox_SelectionChanged(object sender, SelectionChangedE
{
OtherDataRichTextBox.Document.Blocks.Clear();

var selectedItem = (string) OtherDataComboBox.SelectedItem;
var selectedItem = (string)OtherDataComboBox.SelectedItem;

var textBox = OtherDataRichTextBox;

Expand Down Expand Up @@ -338,6 +338,34 @@ private void OtherDataComboBox_SelectionChanged(object sender, SelectionChangedE
AddText(textBox, $"{boneIndex.BoneIndices[i]}\n\n", _textColor, true);
}
}


if (selectedItem.Equals("Bounding Box".L()))
{
var bbId = 0;
foreach(var l in _xivMdl.BoundingBoxes)
{
AddText(textBox, $"\n\nMain BB {bbId}: \n", _textColor, false);
bbId++;
foreach (var bb in l)
{
AddText(textBox, $"{bb[0]}, {bb[1]}, {bb[2]},{bb[3]}\n", _textColor, false);
}
}

bbId = 0;
foreach (var l in _xivMdl.BoneBoundingBoxes)
{
var bName = _xivMdl.PathData.BoneList[bbId];
AddText(textBox, $"\n\nBone BB {bName}: \n", _textColor, false);
bbId++;

foreach (var bb in l)
{
AddText(textBox, $"{bb[0]}, {bb[1]}, {bb[2]}, {bb[3]}\n", _textColor, false);
}
}
}
}

/// <summary>
Expand Down

0 comments on commit e12c139

Please sign in to comment.