Encode full weight as double

pull/5426/head
julianknodt 2024-01-25 15:50:03 -08:00 committed by Kim Kulling
parent ac29847d56
commit bdc08dd4a9
1 changed files with 1 additions and 1 deletions

View File

@ -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);