diff options
Diffstat (limited to 'source/blender/python/intern/bpy.c')
-rw-r--r-- | source/blender/python/intern/bpy.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c index 22d54ad72ba..152b08f5085 100644 --- a/source/blender/python/intern/bpy.c +++ b/source/blender/python/intern/bpy.c @@ -151,10 +151,12 @@ static PyObject *bpy_blend_paths(PyObject *UNUSED(self), PyObject *args, PyObjec list = PyList_New(0); - BKE_bpath_foreach_path_main(&(BPathForeachPathData){.bmain = G_MAIN, - .callback_function = bpy_blend_foreach_path_cb, - .flag = flag, - .user_data = list}); + BKE_bpath_foreach_path_main(&(BPathForeachPathData){ + .bmain = G_MAIN, + .callback_function = bpy_blend_foreach_path_cb, + .flag = flag, + .user_data = list, + }); return list; } |