Fix: autokeyframing when pasting poses no longer worked

The if check wasn't properly inverted in
7be1b59daa

Pull Request: https://projects.blender.org/blender/blender/pulls/113940
This commit is contained in:
Christoph Lendenfeld
2023-10-19 16:23:04 +02:00
committed by Christoph Lendenfeld
parent 58721585b1
commit 3fc2077c2a

View File

@@ -222,7 +222,7 @@ bool autokeyframe_object(bContext *C, Scene *scene, Object *ob, KeyingSet *ks)
bool autokeyframe_pchan(bContext *C, Scene *scene, Object *ob, bPoseChannel *pchan, KeyingSet *ks)
{
if (autokeyframe_cfra_can_key(scene, &ob->id)) {
if (!autokeyframe_cfra_can_key(scene, &ob->id)) {
return false;
}