ScripCanvas

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-25 16:40:27 -07:00
committed by Esteban Papp
parent 2943f16d11
commit b52516cdec
8 changed files with 11 additions and 11 deletions
@@ -110,7 +110,7 @@ namespace ScriptCanvas
AZ_INLINE AZ::Vector3 NormalizeWithDefault(const AZ::Vector3& source, const Data::NumberType tolerance, [[maybe_unused]] const Data::BooleanType fakeValueForTestingDefault)
{
AZ_TracePrintf("SC", "The fake value for testing default is %s\n", fakeValueForTestingDefault ? "True" : "False");
return source.GetNormalizedSafe(tolerance);
return source.GetNormalizedSafe(static_cast<float>(tolerance));
}
void NormalizeWithDefaultInputOverrides(Node& node) { SetDefaultValuesByIndex< 1, 2 >::_(node, 3.3, true); }