Files
test/source/blender/blenkernel/intern
Hans Goudey 692292536f Fix #113665: Sculpt mode does not unshare color attribute data
When retrieving a color attribute to paint it, the layer data needs to
be unshared so that it doesn't modify data from separate meshes.
In the past I think we've unknowingly avoided this problem by porting
code to the new attribute API. I've been refactoring `PBVH` and
`SculptSession` to make that possible (removing the long-lived
layer pointers in the two structs). But that wouldn't fit as a bug fix.
In the meantime, make sure the color attribute data is un-shared
and separate "for read" and "for write" versions of the function.

Pull Request: https://projects.blender.org/blender/blender/pulls/114119
2023-10-24 20:19:14 +02:00
..
2023-10-09 23:41:53 +02:00
2023-09-25 17:53:11 -04:00
2023-09-25 17:53:11 -04:00
2023-09-25 17:53:11 -04:00
2023-10-18 16:57:08 +02:00
2023-10-09 23:41:53 +02:00
2023-10-09 23:41:53 +02:00
2023-10-09 23:41:53 +02:00
2023-10-09 23:41:53 +02:00
2023-10-09 23:41:53 +02:00
2023-07-04 17:03:02 +02:00
2023-07-28 09:38:07 +10:00
2023-10-09 23:41:53 +02:00
2023-10-09 23:41:53 +02:00
2023-10-09 23:41:53 +02:00
2023-10-09 23:41:53 +02:00
2023-09-25 15:25:43 +10:00
2023-08-21 10:05:45 +10:00
2023-10-09 23:41:53 +02:00
2023-07-22 11:46:41 +10:00