Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2008-02-10 21:48:29 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2008-02-10 21:48:29 +0300
commit9d7ef684e3ad699bd8aeb3324cfae2c98871e5e3 (patch)
treeb48815add7db5c850bf82775d421bb2b1fb06c3e /source/blender/python
parent98b4fa74cbd9af209c190da116c26d6971e0b90a (diff)
* remove redundant define.
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/SConscript2
-rw-r--r--source/blender/python/api2_2x/Node.c2
-rw-r--r--source/blender/python/api2_2x/Node.h3
3 files changed, 1 insertions, 6 deletions
diff --git a/source/blender/python/SConscript b/source/blender/python/SConscript
index f608787d66d..481fdcbe13e 100644
--- a/source/blender/python/SConscript
+++ b/source/blender/python/SConscript
@@ -20,8 +20,6 @@ if env['WITH_BF_QUICKTIME']==1:
if env['WITH_BF_OPENEXR'] == 1:
defs.append('WITH_OPENEXR')
-defs.append('USE_PYNODES')
-
if env['WITH_BF_FFMPEG'] == 1:
defs.append('WITH_FFMPEG')
diff --git a/source/blender/python/api2_2x/Node.c b/source/blender/python/api2_2x/Node.c
index 195b61a39ea..d336cfecde7 100644
--- a/source/blender/python/api2_2x/Node.c
+++ b/source/blender/python/api2_2x/Node.c
@@ -30,7 +30,6 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
-#ifdef USE_PYNODES /* note: won't work without patch */
#include "Node.h"
#include "BKE_global.h"
@@ -1259,5 +1258,4 @@ BPy_ShadeInput *ShadeInput_CreatePyObject(ShadeInput *shi)
return pyshi;
}
-#endif
diff --git a/source/blender/python/api2_2x/Node.h b/source/blender/python/api2_2x/Node.h
index ce42527342a..04b54f86872 100644
--- a/source/blender/python/api2_2x/Node.h
+++ b/source/blender/python/api2_2x/Node.h
@@ -30,7 +30,6 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
-#ifdef USE_PYNODES /* note: won't work without patch */
#ifndef __NODE_H__
#define __NODE_H__
@@ -86,4 +85,4 @@ extern void Node_SetShi(BPy_Node *self, ShadeInput *shi);
#define NODE_OUTPUTSTACK 1
#endif /* __NODE_H__*/
-#endif /* USE_PYNODES */
+