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:
authorHans Goudey <h.goudey@me.com>2022-08-11 19:37:51 +0300
committerHans Goudey <h.goudey@me.com>2022-08-11 19:37:51 +0300
commit1b3814e33cf22b3b0fd8bec44cba8599cd05c09b (patch)
tree630c7f135b4774aa931ee6191fa0d2c056fb0288 /source/blender/makesrna/intern
parent9b01fc7f2ab998f460dd7ac5bbdd593dca832c38 (diff)
Rename variables to hide_poly
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r--source/blender/makesrna/intern/rna_mesh.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_mesh.c b/source/blender/makesrna/intern/rna_mesh.c
index c04d606cacb..bdc96f6dec1 100644
--- a/source/blender/makesrna/intern/rna_mesh.c
+++ b/source/blender/makesrna/intern/rna_mesh.c
@@ -488,22 +488,22 @@ static void rna_MeshPolygon_normal_get(PointerRNA *ptr, float *values)
static bool rna_MeshPolygon_hide_get(PointerRNA *ptr)
{
const Mesh *mesh = rna_mesh(ptr);
- const bool *hide_face = (const bool *)CustomData_get_layer_named(
+ const bool *hide_poly = (const 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);
- return hide_face[index];
+ return hide_poly[index];
}
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_poly");
+ bool *hide_poly = (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);
- hide_face[index] = value;
+ hide_poly[index] = value;
}
static void rna_MeshPolygon_center_get(PointerRNA *ptr, float *values)