Cleanup: correct misleading names

This commit is contained in:
Campbell Barton
2025-06-05 17:40:59 +10:00
parent 30fea3e44e
commit d0aca47f36
2 changed files with 3 additions and 3 deletions

View File

@@ -129,7 +129,7 @@ void ED_add_grease_pencil_cels_channel(ChannelDrawList *channel_list,
/* Grease Pencil layer group channels */
void ED_add_grease_pencil_layer_group_channel(ChannelDrawList *channel_list,
bDopeSheet *ads,
const GreasePencilLayerTreeGroup *layer,
const GreasePencilLayerTreeGroup *layer_group,
float ypos,
float yscale_fac,
int saction_flag);

View File

@@ -1961,7 +1961,7 @@ void MESH_OT_edge_split(wmOperatorType *ot)
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
/* properties */
static const EnumPropertyItem merge_type_items[] = {
static const EnumPropertyItem split_type_items[] = {
{BM_EDGE, "EDGE", 0, "Faces by Edges", "Split faces along selected edges"},
{BM_VERT,
"VERT",
@@ -1972,7 +1972,7 @@ void MESH_OT_edge_split(wmOperatorType *ot)
};
ot->prop = RNA_def_enum(
ot->srna, "type", merge_type_items, BM_EDGE, "Type", "Method to use for splitting");
ot->srna, "type", split_type_items, BM_EDGE, "Type", "Method to use for splitting");
}
/** \} */