diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-15 18:21:07 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-15 18:21:07 +0300 |
commit | da9b1b14ed0ffd29fcff8f4ca64fff5f034532fc (patch) | |
tree | f02c859d3d6ff3971de18390e720146a7181f5de /source/blender/editors/physics/physics_pointcache.c | |
parent | 2e25a48b05004112344b04cd56760709eebfc1a4 (diff) |
Cleanup: some more G.main removal/validation...
Diffstat (limited to 'source/blender/editors/physics/physics_pointcache.c')
-rw-r--r-- | source/blender/editors/physics/physics_pointcache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/physics_pointcache.c b/source/blender/editors/physics/physics_pointcache.c index 53aa14d3a56..5205463b5ab 100644 --- a/source/blender/editors/physics/physics_pointcache.c +++ b/source/blender/editors/physics/physics_pointcache.c @@ -139,7 +139,7 @@ static void ptcache_job_endjob(void *customdata) G.is_rendering = false; BKE_spacedata_draw_locks(false); - WM_set_locked_interface(G.main->wm.first, false); + WM_set_locked_interface(G_MAIN->wm.first, false); WM_main_add_notifier(NC_SCENE | ND_FRAME, scene); WM_main_add_notifier(NC_OBJECT | ND_POINTCACHE, job->baker->pid.ob); |