From e776ecfddec846b50b6bbd86f2ea56d159b6f237 Mon Sep 17 00:00:00 2001 From: Martin Poirier Date: Wed, 11 Nov 2009 04:08:09 +0000 Subject: Background mode in more working conditions. What works: The usual command line options for rendering. All python scripts are loaded (which includes custom properties) Render engines are loaded and can be used -P to run scripts works partially: rna api works ok, not operators. What doesn't: Most operator calls in python. This is a problem with poll functions. (Brecht and Campbell are aware of this already) Changes: -d now also applied with -b (it was ignored before) user file (.B25.blend) now also loaded in bg mode. This helps for custom paths and all. wm is also initialized (it's needed for a lot of context calls) Ghost, however, is not initialized. --- source/blender/windowmanager/wm.h | 1 - 1 file changed, 1 deletion(-) (limited to 'source/blender/windowmanager/wm.h') diff --git a/source/blender/windowmanager/wm.h b/source/blender/windowmanager/wm.h index c476b7efa1e..9b888a0e347 100644 --- a/source/blender/windowmanager/wm.h +++ b/source/blender/windowmanager/wm.h @@ -44,7 +44,6 @@ extern void wm_close_and_free(bContext *C, wmWindowManager *); extern void wm_close_and_free_all(bContext *C, ListBase *); extern void wm_add_default(bContext *C); -extern void wm_check(bContext *C); extern void wm_clear_default_size(bContext *C); /* register to windowmanager for redo or macro */ -- cgit v1.2.3