Cleanup: spelling in comments

This commit is contained in:
Campbell Barton
2024-06-11 19:33:19 +10:00
parent eca309cb1c
commit 55632bee7f
2 changed files with 2 additions and 2 deletions

View File

@@ -1123,7 +1123,7 @@ CombinedKeyingResult insert_key_rna(PointerRNA *rna_pointer,
BLI_assert(action != nullptr);
if (USER_EXPERIMENTAL_TEST(&U, use_animation_baklava) && action->wrap().is_action_layered()) {
/* TODO: Don't hardcode key settings. */
/* TODO: Don't hard-code key settings. */
KeyframeSettings key_settings;
key_settings.keyframe_type = key_type;
key_settings.handle = HD_AUTO_ANIM;

View File

@@ -519,7 +519,7 @@ TEST_F(KeyframingTest, insert_key_rna__layered_action__only_available)
EXPECT_EQ(0, result_1.get_count(SingleKeyingResult::SUCCESS));
/* It's unclear why AnimData and an Action should be created if keying fails
* here. It may even be undesireable. These checks are just here to ensure no
* here. It may even be undesirable. These checks are just here to ensure no
* *unintentional* changes in behavior. */
ASSERT_NE(nullptr, object->adt);
ASSERT_NE(nullptr, object->adt->action);