FBXExporter: Forgot WritePropColor defaultValue

pull/3292/head
Ryan Styrczula 2020-06-22 15:22:08 -04:00 committed by Ryan Styrczula
parent 6619ec8253
commit 0c2f7a119c
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ void WritePropColor(const aiScene* scene, FBX::Node& p, const std::string& key,
// ai_real can be float or double, cast to avoid warnings
p.AddP70color(key, (double)value.x, (double)value.y, (double)value.z);
} else {
p.AddP70color(key, 0.0, 0.0, 0.0);
p.AddP70color(key, (double)defaultValue.x, (double)defaultValue.y, (double)defaultValue.z);
}
}