Blender Git Commit Log

Git Commits -> Revision 0f7bece

Revision 0f7bece by Richard Antalik (master)
May 25, 2021, 13:08 (GMT)
Fix T88551: Crash accessing uninitialized tool settings

Tool settings for sequencer were not initialized, which caused crash
when adding strips.

There was fix for same issue in versioning rB0f81dafe6cec, but
subversion was not bumped, so files with uninitialized tool settings
may still exist.

Add `SEQ_tool_settings_get()` accessor function that will initialize
tool settings if they are missing. Change operator code to use
`SEQ_tool_settings_fit_method_get()` function instead of accessing
tool settings directly

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D11383

Commit Details:

Full Hash: 0f7becece7fd829f8ccb9c0fdcb5b929fc25fb70
Parent Commit: 1a69d49
Lines Changed: +15, -4

3 Modified Paths:

/source/blender/editors/space_sequencer/sequencer_add.c (+1, -2) (Diff)
/source/blender/sequencer/intern/sequencer.c (+13, -2) (Diff)
/source/blender/sequencer/SEQ_sequencer.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021