diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-04-18 18:40:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-04-18 18:40:01 +0400 |
commit | 3e1a5ce7a2596ebc135455f9934d128223cc089a (patch) | |
tree | e9d12a0e39c1de8e33e2b32965a91d8bd90a18c1 /source/blender/python/BPY_interface.c | |
parent | a59f7c08cef1fd4f0ce60463fe93eb53a8dadffa (diff) |
PyAPI.
moved bpy into bpy.data and bpy will be eventually replace the root level 'Blender' module.
currently we have bpy.library bpy.config and bpy.data
Diffstat (limited to 'source/blender/python/BPY_interface.c')
-rw-r--r-- | source/blender/python/BPY_interface.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/python/BPY_interface.c b/source/blender/python/BPY_interface.c index 9bead926b92..be4bc690d97 100644 --- a/source/blender/python/BPY_interface.c +++ b/source/blender/python/BPY_interface.c @@ -66,7 +66,7 @@ #include "api2_2x/Draw.h" #include "api2_2x/Object.h" #include "api2_2x/Registry.h" -#include "api2_2x/BPyModule.h" /* for the "bpy" default module */ +#include "api2_2x/bpy.h" /* for the new "bpy" module */ /* for scriptlinks */ #include "DNA_lamp_types.h" @@ -81,7 +81,7 @@ * choose to preserve after they are executed, so user changes can be * restored next time the script is used. Check the Blender.Registry module. */ -//#include "api2_2x/Registry.h" +/*#include "api2_2x/Registry.h" */ /* for pydrivers (ipo drivers defined by one-line Python expressions) */ PyObject *bpy_pydriver_Dict = NULL; @@ -118,7 +118,7 @@ int setup_armature_weakrefs() static struct _inittab BPy_Inittab_Modules[] = { {"Blender", M_Blender_Init}, - {"bpy", M_BPy_Init}, + {"bpy", m_bpy_init}, {NULL, NULL} }; |