c1967d0fb6
When moving an object with a motion path and animdata but no assigned action, and with certain auto-key settings enabled, Blender would crash. The cause was code that tried to access an action's fcurves without proper guarding: the guard checked whether an object had animdata, but not whether it had an action assigned or not, and would happily try to access that non-existent action's fcurves. This fixes the crash by also checking if an action is assigned. Pull Request: https://projects.blender.org/blender/blender/pulls/133552