diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-10-07 16:41:30 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-10-07 16:41:52 +0300 |
commit | 78c0be99877b02a7cd568e868e512d4762a8256f (patch) | |
tree | 2c9fda14c39a8221e94cad441d06ca26857079eb /source/blender/editors/space_clip | |
parent | 525a8bdf1ddd0eff4f1c0b6b6df56f61c712f586 (diff) |
Fix T70452: Crash when clicking "Solve Camera Motion" in Motion Tracking
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r-- | source/blender/editors/space_clip/tracking_ops_solve.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/tracking_ops_solve.c b/source/blender/editors/space_clip/tracking_ops_solve.c index 1d2fc239a89..7e2671382b9 100644 --- a/source/blender/editors/space_clip/tracking_ops_solve.c +++ b/source/blender/editors/space_clip/tracking_ops_solve.c @@ -118,7 +118,11 @@ static void solve_camera_freejob(void *scv) MovieClip *clip = scj->clip; int solved; - WM_set_locked_interface(scj->wm, false); + /* WindowManager is missing in the job when initialization is incomplete. + * In this case the interface is not locked either. */ + if (scj->wm != NULL) { + WM_set_locked_interface(scj->wm, false); + } if (!scj->context) { /* job weren't fully initialized due to some error */ |