diff options
author | Willian Padovani Germano <wpgermano@gmail.com> | 2008-02-11 00:12:44 +0300 |
---|---|---|
committer | Willian Padovani Germano <wpgermano@gmail.com> | 2008-02-11 00:12:44 +0300 |
commit | 9615532ccb8290492bf076cdc7ad7a6ecb9d9311 (patch) | |
tree | 9cc147a4d455cc3730f927c84ff0df5f5dbb42d6 /source/blender/python/api2_2x/Node.h | |
parent | a7702e3d946db1c2f01e116a04710ecf3ba32847 (diff) |
== Pynodes ==
1) Trying to bring back compatibility with Python2.3.
2) Adding some stubs to compile blender player again on linux.
Please tell me if Blender still doesn't compile with py 2.3 or if the player isn't compiling. There was a binreloc related stub I needed to add, so probably the player wasn't compiling before the pynodes commit.
Thanks PanzerMKZ for reporting and testing part of the fix to py 2.3.
Diffstat (limited to 'source/blender/python/api2_2x/Node.h')
-rw-r--r-- | source/blender/python/api2_2x/Node.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Node.h b/source/blender/python/api2_2x/Node.h index 04b54f86872..e229e678fe9 100644 --- a/source/blender/python/api2_2x/Node.h +++ b/source/blender/python/api2_2x/Node.h @@ -80,6 +80,7 @@ extern BPy_Node *Node_CreatePyObject(bNode *node); extern BPy_NodeSockets *Node_CreateSockets(bNode *node); extern void Node_SetStack(BPy_Node *self, bNodeStack **stack, int type); extern void Node_SetShi(BPy_Node *self, ShadeInput *shi); +extern int pytype_is_pynode(PyObject *pyob); #define NODE_INPUTSTACK 0 #define NODE_OUTPUTSTACK 1 |