UI: "vertex keys" -> "shape keys" #104868
|
@ -109,6 +109,11 @@ TEST(nla_track, BKE_nlatrack_remove_and_free)
|
||||||
|
|
||||||
// ensure the correct track was removed.
|
// ensure the correct track was removed.
|
||||||
EXPECT_EQ(-1, BLI_findindex(&adt.nla_tracks, track2));
|
EXPECT_EQ(-1, BLI_findindex(&adt.nla_tracks, track2));
|
||||||
|
|
||||||
|
// free the rest of the tracks, and ensure they are removed.
|
||||||
|
BKE_nlatrack_remove_and_free(&adt.nla_tracks, track1, false);
|
||||||
|
EXPECT_EQ(0, BLI_listbase_count(&adt.nla_tracks));
|
||||||
|
EXPECT_EQ(-1, BLI_findindex(&adt.nla_tracks, track1));
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace blender::bke::tests
|
} // namespace blender::bke::tests
|
||||||
|
|
Loading…
Reference in New Issue