diff options
author | Hans Goudey <h.goudey@me.com> | 2022-08-10 06:57:05 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-08-10 06:57:05 +0300 |
commit | cd90c54d910b940fb41dc7d846101e37cdf7f917 (patch) | |
tree | 91663916c2ba11fcfac4f8a5cd6f24349bec4c56 /source/blender/makesrna/intern | |
parent | 3eef1def7509d2fb91deb4e804dfc8394d4e9951 (diff) |
Rename `.hide_face` to `.hide_poly`
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_mesh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c index 3557827aca0..c04d606cacb 100644 --- a/source/blender/makesrna/intern/rna_mesh.c +++ b/source/blender/makesrna/intern/rna_mesh.c @@ -489,7 +489,7 @@ static bool rna_MeshPolygon_hide_get(PointerRNA *ptr) { const Mesh *mesh = rna_mesh(ptr); const bool *hide_face = (const bool *)CustomData_get_layer_named( - &mesh->pdata, CD_PROP_BOOL, ".hide_face"); + &mesh->pdata, CD_PROP_BOOL, ".hide_poly"); const int index = (const MPoly *)ptr->data - mesh->mpoly; BLI_assert(index >= 0); BLI_assert(index < mesh->totpoly); @@ -499,7 +499,7 @@ static bool rna_MeshPolygon_hide_get(PointerRNA *ptr) static void rna_MeshPolygon_hide_set(PointerRNA *ptr, bool value) { Mesh *mesh = rna_mesh(ptr); - bool *hide_face = (bool *)CustomData_get_layer_named(&mesh->pdata, CD_PROP_BOOL, ".hide_face"); + bool *hide_face = (bool *)CustomData_get_layer_named(&mesh->pdata, CD_PROP_BOOL, ".hide_poly"); const int index = (const MPoly *)ptr->data - mesh->mpoly; BLI_assert(index >= 0); BLI_assert(index < mesh->totpoly); |