diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-08 18:30:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-08 18:30:43 +0400 |
commit | 6fcacf077df261183bfe1976909cb1d636a913ed (patch) | |
tree | 49d3bff9d26da9fd410a0e5f34a3346ad7d400b9 /source/blender/python | |
parent | 6feea7e2c3b0190af27cc378613211b81f8e1499 (diff) |
- duplicating a scene now duplicates all strips (not just selected ones)
- python change, dont import 'bpy' by default, initially I thaught this would make scripting easier but it ends up being annoying when you want to register a script or if you want to import it. (more trouble then its worth to save 1 line, also not very pythonic).
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_interface.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index 6a1495b5f65..f5b07da511d 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -166,11 +166,6 @@ static PyObject *CreateGlobalDictionary( bContext *C, const char *filename ) Py_DECREF(item); } - /* add bpy to global namespace */ - mod= PyImport_ImportModuleLevel("bpy", NULL, NULL, NULL, 0); - PyDict_SetItemString( dict, "bpy", mod ); - Py_DECREF(mod); - return dict; } |