Browse Source

Encode full weight as double

julianknodt 1 year ago
parent
commit
bdc08dd4a9
1 changed files with 1 additions and 1 deletions
  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);
         sdnode.AddChild(p);
         // TODO: Normally just one weight per channel, adding stub for later development
-        std::vector<float>fFullWeights;
+        std::vector<double>fFullWeights;
         fFullWeights.push_back(100.);
         sdnode.AddChild("FullWeights", fFullWeights);
         sdnode.Dump(outstream, binary, indent);