[Bf-blender-cvs] [2645660] master: Correct last commit: workaround for BGE

Campbell Barton noreply at git.blender.org
Tue Jun 3 03:33:46 CEST 2014


Commit: 2645660bed5f8265e114e2532969f3a53d833f4a
Author: Campbell Barton
Date:   Tue Jun 3 11:32:45 2014 +1000
https://developer.blender.org/rB2645660bed5f8265e114e2532969f3a53d833f4a

Correct last commit: workaround for BGE

===================================================================

M	source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp

===================================================================

diff --git a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
index 03401f0..a5dede3 100644
--- a/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
+++ b/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp
@@ -91,6 +91,11 @@ extern "C" {
 
 	#include "../../blender/windowmanager/WM_types.h"
 	#include "../../blender/windowmanager/wm_window.h"
+
+/* avoid more includes (not used by BGE) */
+typedef void * wmUIHandlerFunc;
+typedef void * wmUIHandlerRemoveFunc;
+
 	#include "../../blender/windowmanager/wm_event_system.h"
 }




More information about the Bf-blender-cvs mailing list