Cleanup: GPv3: Remove unused function

This commit is contained in:
Falk David
2024-05-23 16:17:35 +02:00
parent 40b4447f0a
commit 7b3e529462

View File

@@ -470,17 +470,6 @@ static void rna_GreasePencil_active_layer_set(PointerRNA *ptr,
WM_main_add_notifier(NC_GPENCIL | NA_EDITED | NA_SELECTED, grease_pencil);
}
static void rna_GreasePencil_active_layer_index_range(
PointerRNA *ptr, int *min, int *max, int *softmin, int *softmax)
{
GreasePencil *grease_pencil = rna_grease_pencil(ptr);
*min = 0;
*max = std::max(0, int(grease_pencil->layers().size() - 1));
*softmin = *min;
*softmax = *max;
}
static PointerRNA rna_GreasePencil_active_group_get(PointerRNA *ptr)
{
GreasePencil *grease_pencil = rna_grease_pencil(ptr);