[Bf-blender-cvs] [54cb9e1d798] master: PyAPI: correct docstring
Campbell Barton
noreply at git.blender.org
Thu Feb 4 03:30:11 CET 2021
Commit: 54cb9e1d798c873da840d72e18611068f14d57b1
Author: Campbell Barton
Date: Thu Feb 4 13:04:54 2021 +1100
Branches: master
https://developer.blender.org/rB54cb9e1d798c873da840d72e18611068f14d57b1
PyAPI: correct docstring
===================================================================
M source/blender/blenloader/intern/readblenentry.c
M source/blender/python/intern/bpy_library_load.c
===================================================================
diff --git a/source/blender/blenloader/intern/readblenentry.c b/source/blender/blenloader/intern/readblenentry.c
index f1b15b61d06..0b0594c7f4a 100644
--- a/source/blender/blenloader/intern/readblenentry.c
+++ b/source/blender/blenloader/intern/readblenentry.c
@@ -140,7 +140,6 @@ void BLO_blendhandle_print_sizes(BlendHandle *bh, void *fp)
*/
LinkNode *BLO_blendhandle_get_datablock_names(BlendHandle *bh,
int ofblocktype,
-
const bool use_assets_only,
int *r_tot_names)
{
diff --git a/source/blender/python/intern/bpy_library_load.c b/source/blender/python/intern/bpy_library_load.c
index 69a6bd1ebbf..39d1fba2dc9 100644
--- a/source/blender/python/intern/bpy_library_load.c
+++ b/source/blender/python/intern/bpy_library_load.c
@@ -173,7 +173,7 @@ static PyTypeObject bpy_lib_Type = {
PyDoc_STRVAR(
bpy_lib_load_doc,
- ".. method:: load(filepath, link=False, assets_only=False, relative=False)\n"
+ ".. method:: load(filepath, link=False, relative=False, assets_only=False)\n"
"\n"
" Returns a context manager which exposes 2 library objects on entering.\n"
" Each object has attributes matching bpy.data which are lists of strings to be linked.\n"
@@ -182,10 +182,10 @@ PyDoc_STRVAR(
" :type filepath: string\n"
" :arg link: When False reference to the original file is lost.\n"
" :type link: bool\n"
- " :arg assets_only: If True, only list data-blocks marked as assets.\n"
- " :type assets_only: bool\n"
" :arg relative: When True the path is stored relative to the open blend file.\n"
- " :type relative: bool\n");
+ " :type relative: bool\n"
+ " :arg assets_only: If True, only list data-blocks marked as assets.\n"
+ " :type assets_only: bool\n");
static PyObject *bpy_lib_load(PyObject *UNUSED(self), PyObject *args, PyObject *kw)
{
Main *bmain = CTX_data_main(BPY_context_get());
More information about the Bf-blender-cvs
mailing list