You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
catkit2/catkit_core/Property.cpp
Line 81 in 295a07b
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
The text was updated successfully, but these errors were encountered: