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:
authorCampbell Barton <campbell@blender.org>2022-08-12 02:13:14 +0300
committerCampbell Barton <campbell@blender.org>2022-08-12 02:16:09 +0300
commit282a861e11b312621dfc9db2be7022e8d3b000c8 (patch)
tree810e401cae16907b629e8b49edab146e73b487d5 /source/blender/editors/space_view3d
parent62d1ed0120b26cd0860aa430ba2a03da74968556 (diff)
Fix incorrect custom-data layer access for hide layers
Error in [0], missed in review. [0] 2480b55f216c31373a84bc5c5d2b0cc158497c44
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r--source/blender/editors/space_view3d/view3d_select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_select.c b/source/blender/editors/space_view3d/view3d_select.c
index cd609f7e8cf..763848574ed 100644
--- a/source/blender/editors/space_view3d/view3d_select.c
+++ b/source/blender/editors/space_view3d/view3d_select.c
@@ -370,7 +370,7 @@ static bool edbm_backbuf_check_and_select_faces_obmode(Mesh *me,
if (mpoly) {
const bool *hide_poly = (const bool *)CustomData_get_layer_named(
- &me->vdata, CD_PROP_BOOL, ".hide_poly");
+ &me->pdata, CD_PROP_BOOL, ".hide_poly");
for (int index = 0; index < me->totpoly; index++, mpoly++) {
if (!(hide_poly && hide_poly[index])) {