blender/tests/files/sculpting/Cube.btx
Sean Kim 8297ddc635 Fix #161905: External Multires data cleared when exiting Edit Mode
Caused by 8adba33029

When moving the backing of Mesh attributes to `AttributeStorage`,
handling external packed data was missed. This adds explicit support for
it for `CD_MDISPS` data when converting `Mesh` to and from `BMesh`.

Additionally, this fixes a number of issues when handling `.blend` files
that reference external `.btx` files.

* Loading external Multires data in background mode may have failed
  previously if the depsgraph was not up-to-date, as the reading process
  would unset the `MDisps` `totdisps` value, resulting in a failure when
  reading 0 bytes of data
* Saving files to different directories could fail to rebase the
  external filepath correctly, this is because the base filepath was
  calculated from the `Main` of the owning ID, rather than the target
  resulting filepath.

Pull Request: https://projects.blender.org/blender/blender/pulls/162110
2026-08-06 04:25:33 +02:00

3 lines
129 B
Text

version https://git-lfs.github.com/spec/v1
oid sha256:cd970fd39cb92722f2924ae4af74042486f7db13de1c18e950017a10820b688e
size 1264