mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-31 21:03:48 +01:00
Cleanup, fix tangent/normal mixup.
This commit is contained in:
parent
47e6e70272
commit
da1b9e9e90
3 changed files with 29 additions and 31 deletions
|
|
@ -23,7 +23,7 @@ public class MeshExporter
|
|||
? scene.AddSkinnedMesh(data.Mesh, Matrix4x4.Identity, joints)
|
||||
: scene.AddRigidMesh(data.Mesh, Matrix4x4.Identity);
|
||||
|
||||
var extras = new Dictionary<string, object>();
|
||||
var extras = new Dictionary<string, object>(data.Attributes.Length);
|
||||
foreach (var attribute in data.Attributes)
|
||||
extras.Add(attribute, true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue