9509348320
body_appearance_key hashed only the name of a body's assigned material, so after material.edit changed that material's colour (or an undo or redo changed it back) the key stayed the same and the viewport kept the cached old look. The key now also hashes the material's resolved look; with an unchanged material the cache is reused as before.