Tracking: fix inverted pie menu items for pattern match of track

The two items had their effects inverted.

Reviewed By: sebastian_k

Differential Revision: https://developer.blender.org/D16438
This commit is contained in:
Damien Picard 2023-01-17 09:40:08 +01:00 committed by Sergey Sharybin
parent 962c3cf6b1
commit 8082b96a75
1 changed files with 2 additions and 2 deletions

View File

@ -1750,11 +1750,11 @@ class CLIP_MT_marker_pie(Menu):
# Match Keyframe
prop = pie.operator("wm.context_set_enum", text="Match Previous", icon='KEYFRAME_HLT')
prop.data_path = "space_data.clip.tracking.tracks.active.pattern_match"
prop.value = 'KEYFRAME'
prop.value = 'PREV_FRAME'
# Match Previous Frame
prop = pie.operator("wm.context_set_enum", text="Match Keyframe", icon='KEYFRAME')
prop.data_path = "space_data.clip.tracking.tracks.active.pattern_match"
prop.value = 'PREV_FRAME'
prop.value = 'KEYFRAME'
class CLIP_MT_tracking_pie(Menu):