Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Value on datastream for datastream-backed property #116

Open
ehpor opened this issue Aug 3, 2023 · 1 comment
Open

Value on datastream for datastream-backed property #116

ehpor opened this issue Aug 3, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ehpor
Copy link
Collaborator

ehpor commented Aug 3, 2023

m_DataStream->SubmitData(&arg);

Sometimes setter will not set their internal value to the requested value, but something very close. In this case, Datastream-backed properties will still put the requested value on the datastream, leading to that value being retrieved the next time the getter is called. Instead of the requested value, we should call the getter right after the setter in the code above, and put that value on the datastream rather than the requested one.

FYI: @asahooexo

@ehpor ehpor added the bug Something isn't working label Aug 3, 2023
@ehpor ehpor self-assigned this Oct 20, 2023
@raphaelpclt
Copy link
Collaborator

Little bit of C++.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants