Fix return types in docs for matrix.zero, quat's .negate and .identity
Noticed in mathutils docs (and in python type hinter for mathutils) some methods doesn't return anything though docs stated that they return themselves and fixed the docs.
Related to 9c81833430
Pull Request: https://projects.blender.org/blender/blender/pulls/118011
This commit is contained in:
committed by
Bastien Montagne
parent
afa4391eeb
commit
8144252aa9
@@ -2172,9 +2172,7 @@ PyDoc_STRVAR(
|
||||
Matrix_zero_doc,
|
||||
".. method:: zero()\n"
|
||||
"\n"
|
||||
" Set all the matrix values to zero.\n"
|
||||
"\n"
|
||||
" :rtype: :class:`Matrix`\n");
|
||||
" Set all the matrix values to zero.\n");
|
||||
static PyObject *Matrix_zero(MatrixObject *self)
|
||||
{
|
||||
if (BaseMath_Prepare_ForWrite(self) == -1) {
|
||||
|
||||
Reference in New Issue
Block a user