Go to file
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
.gitea Gitea: add note that developers must opt-out of inclusion in AUTHORS 2023-08-18 09:23:43 +10:00
.github Docs: change Git URLs to point projects.blender.org instead of git.blender.org 2023-02-07 14:23:05 +01:00
build_files Fix SSL cert file path not working on second cmake configure 2023-10-23 19:06:47 +02:00
doc Docs: update bpy documentation, referencing PIP which is now supported 2023-10-24 14:10:34 +11:00
extern Build: quiet GCC warning for extern/fmtlib 2023-10-05 10:50:58 +11:00
intern Fix #113961: Incorrect window size for new windows on Wayland 2023-10-24 11:42:18 +11:00
locale I18N: Updated UI translations from git/weblate repo (b232c7b5365). 2023-10-23 12:07:08 +02:00
release Fix False Color view transform looks and console warning 2023-10-23 17:11:31 +02:00
scripts Fix Node Tools popovers dark text 2023-10-24 16:32:13 +02:00
source Fix #113665: Sculpt mode does not unshare color attribute data 2023-10-24 20:19:14 +02:00
tests Tests: add dedicated directory for principled BSDF tests 2023-10-06 21:17:50 +02:00
tools AUTHORS: update 2023-10-06 21:47:31 +11:00
.clang-format clang-format: set BraceWrapping::AfterControlStatement to "MultiLine" 2023-05-02 09:37:08 +10:00
.clang-tidy Clang-tidy: Ignore variable name length and .c/.cc include warnings 2022-05-06 15:26:54 +02:00
.editorconfig pyproject: add configuration for autopep8 2022-04-22 10:13:39 +10:00
.git-blame-ignore-revs Cleanup: add commit to .git-blame-ignore-revs 2023-05-03 20:31:11 +10:00
.gitignore Ignore build files for VS and VS Code 2023-03-07 17:38:34 +01:00
AUTHORS AUTHORS: update 2023-10-06 21:47:31 +11:00
CMakeLists.txt CMake: Rename compositor tests option to WITH_COMPOSITOR_REALTIME_TESTS 2023-08-23 16:03:12 +02:00
COPYING
GNUmakefile Makefile: remove redundant directory changing 2023-09-29 16:44:31 +10:00
make.bat Windows: Propagate errors in make.bat 2023-08-16 19:29:47 +02:00
pyproject.toml pyproject: remove tools/pyproject.toml 2023-03-01 22:18:28 +11:00
README.md Update references to the new projects platform and main branch 2023-02-07 14:18:19 +01:00

Blender

Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.

Blender screenshot

Project Pages

Development

License

Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.

See blender.org/about/license for details.