diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-06-26 01:24:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-06-26 01:24:59 +0400 |
commit | 54e6fc151901a57ce53ee4b80955c1a7265412ca (patch) | |
tree | 410e4af7348ab20c2c9f2d8e9deb96d63c99c8f4 /source/blender/python/intern | |
parent | c2db42adaa5d0dec1ac0092249285cfd1a95cecf (diff) |
remove math and m module names from python driver namespace. (all math functions are merged into the local namespace)
Diffstat (limited to 'source/blender/python/intern')
-rw-r--r-- | source/blender/python/intern/bpy_driver.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/python/intern/bpy_driver.c b/source/blender/python/intern/bpy_driver.c index 8f49263b375..e5719a84fdd 100644 --- a/source/blender/python/intern/bpy_driver.c +++ b/source/blender/python/intern/bpy_driver.c @@ -59,10 +59,6 @@ static int bpy_pydriver_create_dict(void) mod = PyImport_ImportModule("math"); if (mod) { PyDict_Merge(d, PyModule_GetDict(mod), 0); /* 0 - dont overwrite existing values */ - - /* Only keep for backwards compat! - just import all math into root, they are standard */ - PyDict_SetItemString(d, "math", mod); - PyDict_SetItemString(d, "m", mod); Py_DECREF(mod); } |