[Bf-blender-cvs] [8956e9e5f6c] blender-v2.83-release: Fix mathutils box_pack_2d docstring

Philipp Oeser noreply at git.blender.org
Mon May 11 21:20:09 CEST 2020


Commit: 8956e9e5f6c0d576449162ac775a62d4b42ee621
Author: Philipp Oeser
Date:   Fri May 8 14:09:55 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rB8956e9e5f6c0d576449162ac775a62d4b42ee621

Fix mathutils box_pack_2d docstring

Differential Revision: https://developer.blender.org/D7667

===================================================================

M	source/blender/python/mathutils/mathutils_geometry.c

===================================================================

diff --git a/source/blender/python/mathutils/mathutils_geometry.c b/source/blender/python/mathutils/mathutils_geometry.c
index 105cf96a17e..59c0021e0f3 100644
--- a/source/blender/python/mathutils/mathutils_geometry.c
+++ b/source/blender/python/mathutils/mathutils_geometry.c
@@ -1419,7 +1419,7 @@ static void boxPack_ToPyObject(PyObject *value, BoxPack **boxarray)
 PyDoc_STRVAR(M_Geometry_box_pack_2d_doc,
              ".. function:: box_pack_2d(boxes)\n"
              "\n"
-             "   Returns the normal of the 3D tri or quad.\n"
+             "   Returns a tuple with the width and height of the packed bounding box.\n"
              "\n"
              "   :arg boxes: list of boxes, each box is a list where the first 4 items are [x, y, "
              "width, height, ...] other items are ignored.\n"



More information about the Bf-blender-cvs mailing list