[Bf-blender-cvs] [aa0bd29546d] master: Docs: remove deprecated parameter from bmesh docs
Campbell Barton
noreply at git.blender.org
Thu Jun 10 13:33:53 CEST 2021
Commit: aa0bd29546d412d5d3af591af6104a7a5532446a
Author: Campbell Barton
Date: Thu Jun 10 21:32:30 2021 +1000
Branches: master
https://developer.blender.org/rBaa0bd29546d412d5d3af591af6104a7a5532446a
Docs: remove deprecated parameter from bmesh docs
The perimeter itself was removed but the documentation wasn't updated.
Resolves T89013
===================================================================
M source/blender/python/bmesh/bmesh_py_types.c
===================================================================
diff --git a/source/blender/python/bmesh/bmesh_py_types.c b/source/blender/python/bmesh/bmesh_py_types.c
index fc6536be88d..638975f8fba 100644
--- a/source/blender/python/bmesh/bmesh_py_types.c
+++ b/source/blender/python/bmesh/bmesh_py_types.c
@@ -1065,26 +1065,18 @@ static PyObject *bpy_bmesh_to_mesh(BPy_BMesh *self, PyObject *args)
Py_RETURN_NONE;
}
-PyDoc_STRVAR(
- bpy_bmesh_from_object_doc,
- ".. method:: from_object(object, depsgraph, deform=True, cage=False, face_normals=True)\n"
- "\n"
- " Initialize this bmesh from existing object datablock (currently only meshes are "
- "supported).\n"
- "\n"
- " :arg object: The object data to load.\n"
- " :type object: :class:`Object`\n"
- " :arg deform: Apply deformation modifiers.\n"
- " :type deform: boolean\n"
- " :arg cage: Get the mesh as a deformed cage.\n"
- " :type cage: boolean\n"
- " :arg face_normals: Calculate face normals.\n"
- " :type face_normals: boolean\n"
- "\n"
- " .. deprecated:: 2.93\n"
- "\n"
- " The deform parameter is deprecated, assumed to be True, and will be removed in version "
- "3.0.\n");
+PyDoc_STRVAR(bpy_bmesh_from_object_doc,
+ ".. method:: from_object(object, depsgraph, cage=False, face_normals=True)\n"
+ "\n"
+ " Initialize this bmesh from existing object data-block (only meshes are currently "
+ "supported).\n"
+ "\n"
+ " :arg object: The object data to load.\n"
+ " :type object: :class:`Object`\n"
+ " :arg cage: Get the mesh as a deformed cage.\n"
+ " :type cage: boolean\n"
+ " :arg face_normals: Calculate face normals.\n"
+ " :type face_normals: boolean\n");
static PyObject *bpy_bmesh_from_object(BPy_BMesh *self, PyObject *args, PyObject *kw)
{
static const char *kwlist[] = {"object", "depsgraph", "cage", "face_normals", NULL};
More information about the Bf-blender-cvs
mailing list