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-06-14 17:27:26 +0300
committerHans Goudey <h.goudey@me.com>2022-06-14 17:41:43 +0300
commit25f18e6c4905d500e799f8cb8657bc83d61a864a (patch)
treefdf0ba275f90e512d94174fbb3148102fa74eeaa
parent0f06de807249d24bf6ba7713d41a5b23f0336b97 (diff)
Cleanup: Snake case for variable name
-rw-r--r--source/blender/editors/geometry/geometry_attributes.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/geometry/geometry_attributes.cc b/source/blender/editors/geometry/geometry_attributes.cc
index e880e0db76c..c7e782b7b89 100644
--- a/source/blender/editors/geometry/geometry_attributes.cc
+++ b/source/blender/editors/geometry/geometry_attributes.cc
@@ -524,12 +524,12 @@ static int geometry_color_attribute_duplicate_exec(bContext *C, wmOperator *op)
return OPERATOR_CANCELLED;
}
- CustomDataLayer *newLayer = BKE_id_attribute_duplicate(id, layer->name, op->reports);
- if (newLayer == nullptr) {
+ CustomDataLayer *new_layer = BKE_id_attribute_duplicate(id, layer->name, op->reports);
+ if (new_layer == nullptr) {
return OPERATOR_CANCELLED;
}
- BKE_id_attributes_active_color_set(id, newLayer);
+ BKE_id_attributes_active_color_set(id, new_layer);
DEG_id_tag_update(id, ID_RECALC_GEOMETRY);
WM_main_add_notifier(NC_GEOM | ND_DATA, id);