Currently the ui_for_asset function causes the displayed asset to be mutably dereferenced every frame, which triggers change detection, whether any values changed or not.
To actually detect changes to the displayed asset, this PR just returns the changed bool from the underlying ui_for_reflect call. It might be worth exploring a proper change-detection integration in the future, but for now I just want to get access to the value.
Currently the
ui_for_asset
function causes the displayed asset to be mutably dereferenced every frame, which triggers change detection, whether any values changed or not.To actually detect changes to the displayed asset, this PR just returns the changed bool from the underlying
ui_for_reflect
call. It might be worth exploring a proper change-detection integration in the future, but for now I just want to get access to the value.