Skip to content

Commit c33a0a7

Browse files
committed
Fixed intellisense fuckery
1 parent a834fdd commit c33a0a7

File tree

1 file changed

+7
-9
lines changed
  • xivModdingFramework/Models/DataContainers

1 file changed

+7
-9
lines changed

xivModdingFramework/Models/DataContainers/TTModel.cs

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,7 +1476,7 @@ public static async Task<TTModel> LoadFromFile(string filePath, Action<bool, str
14761476
{
14771477
loggingFunction = ModelModifiers.NoOp;
14781478
}
1479-
if (settings == null)
1479+
if(settings == null)
14801480
{
14811481
settings = new ModelImportOptions();
14821482
}
@@ -1519,7 +1519,7 @@ public static async Task<TTModel> LoadFromFile(string filePath, Action<bool, str
15191519
}
15201520
else
15211521
{
1522-
model.MeshGroups[meshNum].MeshType = (EMeshType)Enum.Parse(typeof(EMeshType), t);
1522+
model.MeshGroups[meshNum].MeshType = (EMeshType) Enum.Parse(typeof(EMeshType), t);
15231523
}
15241524

15251525
model.MeshGroups[meshNum].Name = reader.GetString("name");
@@ -1546,7 +1546,7 @@ public static async Task<TTModel> LoadFromFile(string filePath, Action<bool, str
15461546
}
15471547

15481548
// Spawn parts as needed.
1549-
while (model.MeshGroups[meshNum].Parts.Count <= partNum)
1549+
while(model.MeshGroups[meshNum].Parts.Count <= partNum)
15501550
{
15511551
model.MeshGroups[meshNum].Parts.Add(new TTMeshPart());
15521552

@@ -1672,15 +1672,14 @@ public static async Task<TTModel> LoadFromFile(string filePath, Action<bool, str
16721672
vertex.FlowDirection[0] = reader.GetFloat("flow_u");
16731673
vertex.FlowDirection[1] = reader.GetFloat("flow_v");
16741674

1675-
if (vertex.Binormal != Vector3.Zero)
1675+
if(vertex.Binormal != Vector3.Zero)
16761676
{
16771677
var tangent = Vector3.Cross(vertex.Normal, vertex.Binormal).Normalized();
16781678
var dot = Vector3.Dot(tangent, vertex.Tangent);
1679-
if (dot < 0.5f)
1679+
if(dot < 0.5f)
16801680
{
16811681
vertex.Handedness = true;
1682-
}
1683-
else
1682+
} else
16841683
{
16851684
vertex.Handedness = false;
16861685
}
@@ -1694,8 +1693,7 @@ public static async Task<TTModel> LoadFromFile(string filePath, Action<bool, str
16941693
try
16951694
{
16961695
return reader.GetInt32("vertex_id");
1697-
}
1698-
catch (Exception ex)
1696+
} catch (Exception ex)
16991697
{
17001698
throw ex;
17011699
}

0 commit comments

Comments
 (0)