Selaa lähdekoodia

Merge pull request #137 from professorf/master

Fixed a bug in FBX Exporter that prevented SkinnedModels (animated rigs) from working
deltakosh 11 vuotta sitten
vanhempi
commit
a2ff28169d

+ 1 - 1
Exporters/XNA - OBJ/BabylonExport.Core/Entities/PositionNormalTexturedWeights.cs

@@ -6,7 +6,7 @@ namespace BabylonExport.Core
 {
     public struct PositionNormalTexturedWeights : IDumpable, IQueryable
     {
-        public const int Stride = 64;
+        public const int Stride = 52; // Maya returning >=52 for PNTW vertex, not 64
         public Vector3 Position;
         public int Indices;
         public Vector4 Weights;