Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2022-03-30 18:31:40 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2022-03-31 14:01:12 +0300
commitf88646a1edcc69f216e59ee54d8555f7e3e2c9c6 (patch)
tree49c95695b0854afe44a4536ec0539beb8c0b00e8 /release/scripts/startup/bl_ui/space_topbar.py
parentccecd97c8c41e32f0c4212c48195f80163e850ab (diff)
Fix T96344: edit mode GPU subdivision crashes with X-ray mode and modifiers
The crash happens because the origindex layers created as part of the modifier stack evaluation are not set in the `MeshRenderData` when they should have been. This is because when selecting in X-ray mode, a subdivision wrapper is created to ensure that selection happens with a subdivided geometry, and this replaces the `MDATA` wrapper which is also used to setup the `MeshRenderData`. As we do not seemingly have an `MDATA` wrapper, the draw code decides that we can extract draw buffers directly from the BMesh, instead of the mapped Mesh with origin indices layers. To fix this, we should also consider to use mapped extraction if a subdivision wrapper exists on the mesh. Differential Revision: https://developer.blender.org/D14485
Diffstat (limited to 'release/scripts/startup/bl_ui/space_topbar.py')
0 files changed, 0 insertions, 0 deletions