Fix scons + smoke not working. it seems like the definition + include file are needed...
authorAntony Riakiotakis <kalast@gmail.com>
Wed, 6 Jun 2012 10:41:49 +0000 (10:41 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Wed, 6 Jun 2012 10:41:49 +0000 (10:41 +0000)
source/blender/makesrna/SConscript

index 2bafc586a58ea3b80b17f48f78172ce3524d2de7..29910121e2a9c6285b84a8f60b1e65799a241713 100644 (file)
@@ -11,12 +11,15 @@ incs += ' ../windowmanager ../editors/include ../gpu ../imbuf ../ikplugin ../ble
 incs += ' ../render/extern/include #/intern/cycles/blender'
 incs += ' ../nodes'
 incs += ' #/extern/glew/include'
+incs += ' #/intern/smoke/extern'
 
 incs += ' ../bmesh'
 
-
 defs = []
 
+if env['WITH_BF_SMOKE']:
+    defs.append('WITH_SMOKE')
+
 if env['WITH_BF_OPENEXR']:
     defs.append('WITH_OPENEXR')