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
This commit is contained in:
Sergey Sharybin 2022-06-14 17:34:49 +02:00
parent 216a2c0f37
commit 2e6cd70473
1 changed files with 4 additions and 0 deletions

View File

@ -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");
}