diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-07-11 07:18:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-07-11 07:19:55 +0300 |
commit | a7ac40888f530c12f137b3f6249b6f1dcfae3ea3 (patch) | |
tree | 885ae80bcf0ca7b1b56d74fa152aa3ab4d90c4f9 /source/blender/python | |
parent | 676543d91f5c9f441cd0544d99aa34c933570347 (diff) |
Text: buffer from text, optional length return arg
No functional changes (currently unused).
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy_interface.c b/source/blender/python/intern/bpy_interface.c index b34a41b5af6..71bc01d6b98 100644 --- a/source/blender/python/intern/bpy_interface.c +++ b/source/blender/python/intern/bpy_interface.c @@ -457,7 +457,7 @@ static bool python_script_exec( fn_dummy_py = PyC_UnicodeFromByte(fn_dummy); - buf = txt_to_buf(text); + buf = txt_to_buf(text, NULL); text->compiled = Py_CompileStringObject(buf, fn_dummy_py, Py_file_input, NULL, -1); MEM_freeN(buf); |