Skip to content

Commit 656c473

Browse files
committed
Update v3.0.8.2
2 parents f671682 + b113471 commit 656c473

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

xivModdingFramework/Models/FileTypes/Sklb.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ namespace xivModdingFramework.Models.FileTypes
4949
/// </summary>
5050
public static class Sklb
5151
{
52-
private const string SkeletonsFolder = "Skeletons";
52+
public const string SkeletonsFolder = "Skeletons";
5353

5454
/// <summary>
5555
/// Retrieves the base racial or body skeleton for a given model file, parsing it from the base

xivModdingFramework/Models/Helpers/ModelModifiers.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,11 @@ public static async Task RaceConvert(TTModel incomingModel, XivRace targetRace,
11311131
/// <param name="loggingFunction"></param>
11321132
public static async Task RaceConvertRecursive(TTModel model, XivRace targetRace, XivRace originalRace, Action<bool, string> loggingFunction = null, ModTransaction tx = null)
11331133
{
1134+
await INTERNAL_RaceConvertRecursive(model, targetRace, originalRace, loggingFunction, tx);
1135+
await CalculateTangents(model, loggingFunction, true);
1136+
}
1137+
private static async Task INTERNAL_RaceConvertRecursive(TTModel model, XivRace targetRace, XivRace originalRace, Action<bool, string> loggingFunction = null, ModTransaction tx = null)
1138+
{
11341139
try
11351140
{
11361141
if (originalRace.IsDirectParentOf(targetRace))

xivModdingFramework/Mods/ModTransaction.cs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -386,13 +386,13 @@ public async Task<IndexFile> GetIndexFile(XivDataFile dataFile)
386386
{
387387
while (_LoadingIndexFiles)
388388
{
389-
Thread.Sleep(1);
389+
await Task.Delay(10);
390390
}
391-
392-
if(!_IndexFiles.ContainsKey(dataFile))
391+
392+
_LoadingIndexFiles = true;
393+
try
393394
{
394-
_LoadingIndexFiles = true;
395-
try
395+
if (!_IndexFiles.ContainsKey(dataFile))
396396
{
397397
if (!_ReadOnly)
398398
{
@@ -421,12 +421,12 @@ public async Task<IndexFile> GetIndexFile(XivDataFile dataFile)
421421

422422
var idx = await Index.INTERNAL_GetIndexFile(dataFile, false, ReadOnly);
423423
_IndexFiles.Add(dataFile, idx);
424-
}
425-
finally
426-
{
427-
_LoadingIndexFiles = false;
428-
}
429424

425+
}
426+
}
427+
finally
428+
{
429+
_LoadingIndexFiles = false;
430430
}
431431
return _IndexFiles[dataFile];
432432
}

xivModdingFramework/xivModdingFramework.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<PackageReference Include="SharpDX" Version="4.2.0" />
3535
<PackageReference Include="SharpDX.Mathematics" Version="4.2.0" />
3636
<PackageReference Include="System.Buffers" Version="4.5.1" />
37-
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.8" />
37+
<PackageReference Include="SixLabors.ImageSharp" Version="2.1.9" />
3838
<PackageReference Include="System.Data.SQLite" Version="1.0.118" />
3939
<PackageReference Include="System.Management" Version="8.0.0" />
4040
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" />

0 commit comments

Comments
 (0)