Open nezuo opened 2 months ago
patch_compute.rs
will treat NaN
properties as always changed. This means that you will see nan
property changes in the rojo plugin UI (when nothing actually changed).
I'm not sure what's the best way to go about fixing this. Ideally we also account for it types that have multiple numbers like CFrame
or NumberSequence
.
I just pushed a commit to account for NaN
values. It's a lot of complexity just to handle NaN
(and hopefully we don't forget to update it with any new variants because Variant
is non_exhaustive). I'm not really sold on the approach, but I'd like to hear anyone's thoughts on it.
I'm now using the variant_eq
function from your fork. I did change the the Attributes
comparison to simplify it if you want to check that out.
That's my bad, I thought I removed it.
Fixes #363. Fixes #881.
Remaining Tasks
msgpack
forwrite
api request.NaN
inside of patch compute.