Cleanup: replace magic number

This commit is contained in:
Campbell Barton 2022-08-11 09:52:49 +10:00
parent 32c8a28720
commit 07deb9a71b
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ static void rna_Action_fcurve_clear(bAction *act)
static TimeMarker *rna_Action_pose_markers_new(bAction *act, const char name[])
{
TimeMarker *marker = MEM_callocN(sizeof(TimeMarker), "TimeMarker");
marker->flag = 1;
marker->flag = SELECT;
marker->frame = 1;
BLI_strncpy_utf8(marker->name, name, sizeof(marker->name));
BLI_addtail(&act->markers, marker);