CTX_wm_reports needs to return NULL when wm.manager is NULL (this happens in backgrou...
authorMartin Poirier <theeth@yahoo.com>
Fri, 14 Aug 2009 18:18:19 +0000 (18:18 +0000)
committerMartin Poirier <theeth@yahoo.com>
Fri, 14 Aug 2009 18:18:19 +0000 (18:18 +0000)
commitd0607c9d8d803885018f7e5b872e98222130f881
treebe2b1a0500222794181f01127fc0e7d7de23da5a
parent52485190e898858f97da64d0eaf4307d46542a08
CTX_wm_reports needs to return NULL when wm.manager is NULL (this happens in background mode).

This fixes a segfault on quit in background mode. Now it reports unfreed datablocks, someone should fix that.
source/blender/blenkernel/intern/context.c