mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 20:19:49 +02:00
format
This commit is contained in:
1 parent
2213f7d032
commit
5dc11473bb
1 file changed
+4
-4
@@ -58,7 +58,8 @@ public class MonoGltf
|
|||||||
|
|
||||||
foreach (var section in lod0.Sections!.Value)
|
foreach (var section in lod0.Sections!.Value)
|
||||||
{
|
{
|
||||||
scene.AddRigidMesh(ParseSection(section, materialMap, lod0, lod0.Verts!), group);
|
var configured = ParseSection(section, materialMap, lod0, lod0.Verts!);
|
||||||
|
scene.AddRigidMesh(configured, group);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (mesh is USkeletalMesh skeletalMesh)
|
else if (mesh is USkeletalMesh skeletalMesh)
|
||||||
@@ -69,15 +70,14 @@ public class MonoGltf
|
|||||||
|
|
||||||
foreach (var section in lod0.Sections!.Value)
|
foreach (var section in lod0.Sections!.Value)
|
||||||
{
|
{
|
||||||
scene.AddRigidMesh(ParseSection(section, materialMap, lod0, lod0.Verts!), group);
|
var configured = ParseSection(section, materialMap, lod0, lod0.Verts!);
|
||||||
|
scene.AddRigidMesh(configured, group);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
scene.AddNode(group);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user