Fix #131987: Crash when inserting keys to shader nodes with NLA tweak mode
The crash happened because `bNodeSocket.runtime` was a nullptr. That was because the struct pointer was passed instead of the resolved pointer. Passing the resolved pointer into `BKE_animsys_nla_remap_keyframe_values` fixes the issue Pull Request: https://projects.blender.org/blender/blender/pulls/132012
This commit is contained in:
committed by
Christoph Lendenfeld
parent
1be75e86aa
commit
c960d2b3f7
@@ -1083,7 +1083,7 @@ CombinedKeyingResult insert_keyframes(Main *bmain,
|
||||
/* NOTE: this function call is complex with interesting/non-obvious effects.
|
||||
* Please see its documentation for details. */
|
||||
BKE_animsys_nla_remap_keyframe_values(nla_context,
|
||||
struct_pointer,
|
||||
&ptr,
|
||||
prop,
|
||||
rna_values.as_mutable_span(),
|
||||
rna_path.index.value_or(-1),
|
||||
|
||||
Reference in New Issue
Block a user