diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-06-05 12:18:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-06-05 12:18:37 +0400 |
commit | 50d24425cea55c8266fa01964f6348a6f1d70f80 (patch) | |
tree | 16b70b547935f29db1da075bc7413d3b2badcca9 /source/blender/python | |
parent | b727202921f537b50ab5ebdf7367da1c4416120d (diff) |
py/drivers disable dont interning strings, no need really since this isnt done on every execution.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_driver.c b/source/blender/python/intern/bpy_driver.c index 6f124d959cb..c154b139146 100644 --- a/source/blender/python/intern/bpy_driver.c +++ b/source/blender/python/intern/bpy_driver.c @@ -190,7 +190,7 @@ float BPY_driver_exec(ChannelDriver *driver) PyTuple_SET_ITEM(((PyObject *)driver->expr_comp), 1, expr_vars); for (dvar= driver->variables.first, i=0; dvar; dvar= dvar->next) { - PyTuple_SET_ITEM(expr_vars, i++, PyUnicode_InternFromString(dvar->name)); + PyTuple_SET_ITEM(expr_vars, i++, PyUnicode_FromString(dvar->name)); } driver->flag &= ~DRIVER_FLAG_RENAMEVAR; |