Fix #119946: NLA stack decomposition doesn't work with bones #120008
@ -1016,8 +1016,8 @@ void insert_key_rna(PointerRNA *rna_pointer,
|
||||
ListBase nla_cache = {nullptr, nullptr};
|
||||
NlaKeyframingContext *nla_context = nullptr;
|
||||
|
||||
PointerRNA id_pointer = RNA_id_pointer_create(id);
|
||||
if (adt && adt->action == action) {
|
||||
|
||||
PointerRNA id_pointer = RNA_id_pointer_create(id);
|
||||
nla_context = BKE_animsys_get_nla_keyframing_context(
|
||||
&nla_cache, &id_pointer, adt, &anim_eval_context);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user
Move the declaration inside the
if()
as it's not used anywhere else.