diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-06-14 18:34:49 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-06-15 13:37:35 +0300 |
commit | 2e6cd7047397b0724b5fbafa775d0b02bfd0c329 (patch) | |
tree | dc1cc58c7086a56c88915cc13df17f1997311f5b /source/blender/blenkernel | |
parent | 216a2c0f372a10381142b956f8f58282bd219afe (diff) |
Clip editor: Default to average error sort in dopesheet
This is what we agreed on during the workshop.
Differential Revision: https://developer.blender.org/D15194
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/tracking.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/tracking.c b/source/blender/blenkernel/intern/tracking.c index c33d514152d..3506d0e347a 100644 --- a/source/blender/blenkernel/intern/tracking.c +++ b/source/blender/blenkernel/intern/tracking.c @@ -336,6 +336,10 @@ void BKE_tracking_settings_init(MovieTracking *tracking) tracking->stabilization.filter = TRACKING_FILTER_BILINEAR; tracking->stabilization.flag |= TRACKING_SHOW_STAB_TRACKS; + /* Descending order of average error: tracks with the highest error are on top. */ + tracking->dopesheet.sort_method = TRACKING_DOPE_SORT_AVERAGE_ERROR; + tracking->dopesheet.flag |= TRACKING_DOPE_SORT_INVERSE; + BKE_tracking_object_add(tracking, "Camera"); } |