[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43322] trunk/blender/source/blender/ windowmanager/intern/wm_keymap.c: Fix #29864: crash running blender in background mode with non-default key

Brecht Van Lommel brechtvanlommel at pandora.be
Thu Jan 12 16:44:27 CET 2012


Revision: 43322
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43322
Author:   blendix
Date:     2012-01-12 15:44:18 +0000 (Thu, 12 Jan 2012)
Log Message:
-----------
Fix #29864: crash running blender in background mode with non-default key
configuration.

Modified Paths:
--------------
    trunk/blender/source/blender/windowmanager/intern/wm_keymap.c

Modified: trunk/blender/source/blender/windowmanager/intern/wm_keymap.c
===================================================================
--- trunk/blender/source/blender/windowmanager/intern/wm_keymap.c	2012-01-12 15:16:08 UTC (rev 43321)
+++ trunk/blender/source/blender/windowmanager/intern/wm_keymap.c	2012-01-12 15:44:18 UTC (rev 43322)
@@ -981,6 +981,8 @@
 	wmKeyMapDiffItem *kmdi;
 	int compat_update = 0;
 
+	if(G.background)
+		return;
 	if(!WM_KEYMAP_UPDATE)
 		return;
 	



More information about the Bf-blender-cvs mailing list