Docs: remove deprecated parameter from bmesh docs
The perimeter itself was removed but the documentation wasn't updated. Resolves T89013
This commit is contained in:
@@ -1065,26 +1065,18 @@ static PyObject *bpy_bmesh_to_mesh(BPy_BMesh *self, PyObject *args)
|
|||||||
Py_RETURN_NONE;
|
Py_RETURN_NONE;
|
||||||
}
|
}
|
||||||
|
|
||||||
PyDoc_STRVAR(
|
PyDoc_STRVAR(bpy_bmesh_from_object_doc,
|
||||||
bpy_bmesh_from_object_doc,
|
".. method:: from_object(object, depsgraph, cage=False, face_normals=True)\n"
|
||||||
".. method:: from_object(object, depsgraph, deform=True, cage=False, face_normals=True)\n"
|
"\n"
|
||||||
"\n"
|
" Initialize this bmesh from existing object data-block (only meshes are currently "
|
||||||
" Initialize this bmesh from existing object datablock (currently only meshes are "
|
"supported).\n"
|
||||||
"supported).\n"
|
"\n"
|
||||||
"\n"
|
" :arg object: The object data to load.\n"
|
||||||
" :arg object: The object data to load.\n"
|
" :type object: :class:`Object`\n"
|
||||||
" :type object: :class:`Object`\n"
|
" :arg cage: Get the mesh as a deformed cage.\n"
|
||||||
" :arg deform: Apply deformation modifiers.\n"
|
" :type cage: boolean\n"
|
||||||
" :type deform: boolean\n"
|
" :arg face_normals: Calculate face normals.\n"
|
||||||
" :arg cage: Get the mesh as a deformed cage.\n"
|
" :type face_normals: boolean\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");
|
|
||||||
static PyObject *bpy_bmesh_from_object(BPy_BMesh *self, PyObject *args, PyObject *kw)
|
static PyObject *bpy_bmesh_from_object(BPy_BMesh *self, PyObject *args, PyObject *kw)
|
||||||
{
|
{
|
||||||
static const char *kwlist[] = {"object", "depsgraph", "deform", "cage", "face_normals", NULL};
|
static const char *kwlist[] = {"object", "depsgraph", "deform", "cage", "face_normals", NULL};
|
||||||
|
|||||||
Reference in New Issue
Block a user