diff options
author | Richard Antalik <richardantalik@gmail.com> | 2021-05-25 16:02:31 +0300 |
---|---|---|
committer | Richard Antalik <richardantalik@gmail.com> | 2021-05-25 16:08:32 +0300 |
commit | 0f7becece7fd829f8ccb9c0fdcb5b929fc25fb70 (patch) | |
tree | 4b2d4b1f2d00de97f9033b8d1a7daefcfa2273fa /source/blender/editors/geometry | |
parent | 1a69d491e57cb7b7a834f265f59df3bd8f01e55b (diff) |
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
Diffstat (limited to 'source/blender/editors/geometry')
0 files changed, 0 insertions, 0 deletions