Browse Source

Encode full weight as double

julianknodt 1 năm trước cách đây
mục cha
commit
bdc08dd4a9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      code/AssetLib/FBX/FBXExporter.cpp

+ 1 - 1
code/AssetLib/FBX/FBXExporter.cpp

@@ -1807,7 +1807,7 @@ void FBXExporter::WriteObjects ()
         p.AddP70numberA("DeformPercent", 0.0);
         p.AddP70numberA("DeformPercent", 0.0);
         sdnode.AddChild(p);
         sdnode.AddChild(p);
         // TODO: Normally just one weight per channel, adding stub for later development
         // TODO: Normally just one weight per channel, adding stub for later development
-        std::vector<float>fFullWeights;
+        std::vector<double>fFullWeights;
         fFullWeights.push_back(100.);
         fFullWeights.push_back(100.);
         sdnode.AddChild("FullWeights", fFullWeights);
         sdnode.AddChild("FullWeights", fFullWeights);
         sdnode.Dump(outstream, binary, indent);
         sdnode.Dump(outstream, binary, indent);