Files
UnrealEngineUWP/Engine/Config
dave jones2 c45795f9fe UE-141180 - Loss of precision with String to Float Real conversion
We neglected to redirect Conv_FloatToText nodes to Conv_DoubleToText, which was causing loss of precision when formatting text. However, this revealed another issue with the format text node.

Since the format text node uses wildcards, it needs a sorting priority of Low_UsesDependentWildcard. Otherwise, linked inputs won't be updated before we sync the node's pins. For example, we might be linked to a Conv_FloatToText node that hasn't yet been converted to a Conv_DoubleToText node. As a result, the format text node will use a single precision float input for the connected conversion node instead of a double.

Another issue is that the format text node is marked as causing a structural Blueprint change. The current sorting function prioritizes that over its refresh priority. Fortunately, we don't need to concern ourselves with structural modification if we're compiling on load, which is when we really need the refresh priority to work as expected.

Finally, K2Node_EnumEquality node needs to have its knot dependencies updated prior to reconstruction. Otherwise, it might fail to find a valid UEnum, and disconnect its inputs. Since knot nodes already have this logic built in, we can just force a type propagation on any linked knots.

#jira UE-141180
#preflight 6255c2ed153828d27337753f
#rb Phillip.Kavan

[CL 19726070 by dave jones2 in ue5-main branch]
2022-04-12 14:41:25 -04:00
..
2022-03-10 22:03:54 -05:00
2022-03-10 22:03:54 -05:00
2022-03-10 22:03:54 -05:00
2022-01-28 18:49:49 -05:00