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:
authorSergey Sharybin <sergey@blender.org>2020-11-30 16:56:47 +0300
committerSergey Sharybin <sergey@blender.org>2020-11-30 16:58:12 +0300
commitc949062c6eeedf7c6b0fb3029217effd301575c5 (patch)
tree163c431c645bd6e8abfca3cef3d886ecb02af03a /source/blender/makesrna/intern/rna_tracking.c
parentf61ad0e1017bcf924b0529738c08c3a74d1e7476 (diff)
Tracking: Cleanup pattern match DNA definition
Wrong comment was used for enumerator. Also made it a real typed enumerator to ease use in the implementation code. Should be no functional changes.
Diffstat (limited to 'source/blender/makesrna/intern/rna_tracking.c')
-rw-r--r--source/blender/makesrna/intern/rna_tracking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_tracking.c b/source/blender/makesrna/intern/rna_tracking.c
index f9597fdd7af..1870c660efd 100644
--- a/source/blender/makesrna/intern/rna_tracking.c
+++ b/source/blender/makesrna/intern/rna_tracking.c
@@ -856,7 +856,7 @@ static const EnumPropertyItem tracker_motion_model[] = {
static const EnumPropertyItem pattern_match_items[] = {
{TRACK_MATCH_KEYFRAME, "KEYFRAME", 0, "Keyframe", "Track pattern from keyframe to next frame"},
- {TRACK_MATCH_PREVFRAME,
+ {TRACK_MATCH_PREVIOS_FRAME,
"PREV_FRAME",
0,
"Previous frame",