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:
authorCampbell Barton <ideasman42@gmail.com>2021-02-20 07:34:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-20 07:34:55 +0300
commit83f285f56fac5aa989ec26d2d529b1284c8c2e21 (patch)
treeaf222895f6a78f47eafba09de7108662e602a1ff /source/blender
parent6e64d97edeb3c01b8a94b80116937710c86641ad (diff)
Cleanup: reference near duplicate enum definitions
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/gpencil/gpencil_interpolate.c4
-rw-r--r--source/blender/makesrna/intern/rna_curve.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/editors/gpencil/gpencil_interpolate.c b/source/blender/editors/gpencil/gpencil_interpolate.c
index 6a2eae934a2..1823a962926 100644
--- a/source/blender/editors/gpencil/gpencil_interpolate.c
+++ b/source/blender/editors/gpencil/gpencil_interpolate.c
@@ -1431,6 +1431,10 @@ void GPENCIL_OT_interpolate_sequence(wmOperatorType *ot)
{0, NULL, 0, NULL, NULL},
};
+ /**
+ * \note this is a near exact duplicate of #rna_enum_beztriple_interpolation_mode_items,
+ * Changes here will likely apply there too.
+ */
static const EnumPropertyItem gpencil_interpolation_type_items[] = {
/* interpolation */
{0, "", 0, N_("Interpolation"), "Standard transitions between keyframes"},
diff --git a/source/blender/makesrna/intern/rna_curve.c b/source/blender/makesrna/intern/rna_curve.c
index a46026fd08f..50c18cf1dae 100644
--- a/source/blender/makesrna/intern/rna_curve.c
+++ b/source/blender/makesrna/intern/rna_curve.c
@@ -75,6 +75,10 @@ const EnumPropertyItem rna_enum_keyframe_handle_type_items[] = {
{0, NULL, 0, NULL, NULL},
};
+/**
+ * \note this is a near exact duplicate of `gpencil_interpolation_type_items`,
+ * Changes here will likely apply there too.
+ */
const EnumPropertyItem rna_enum_beztriple_interpolation_mode_items[] = {
/* interpolation */
{0, "", 0, N_("Interpolation"), "Standard transitions between keyframes"},