Pardon, typo in own commit for SCons changes. Also added missed headers.
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 18 Jun 2012 09:52:41 +0000 (09:52 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 18 Jun 2012 09:52:41 +0000 (09:52 +0000)
Should work now.

source/blender/editors/io/SConscript
source/blender/editors/io/io_ops.c

index 7046698..d012576 100644 (file)
@@ -9,6 +9,6 @@ incs = '../include ../../blenfont ../../blenkernel ../../blenlib ../../blenloade
 incs += '../../makesdna ../../makesrna ../../windowmanager ../../collada'
 
 if env['WITH_BF_COLLADA']:
-    defs += 'WITH_COLLADA'
+    defs += ['WITH_COLLADA']
 
 env.BlenderLib ( 'bf_editor_io', sources, Split(incs), defines=defs, libtype=['core','player'], priority=[330,210] )
index a06d54c..b724db6 100644 (file)
@@ -31,6 +31,9 @@
 
 #include "io_collada.h"
 
+#include "WM_types.h"
+#include "WM_api.h"
+
 void ED_operatortypes_io(void) 
 {
 #ifdef WITH_COLLADA