diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-01-25 12:25:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-01-25 12:26:39 +0300 |
commit | 4f8b7f44206264d38562bb92a7c73596ab7d3b6c (patch) | |
tree | fe56fd070afb67b37d3889efada45acde68003eb | |
parent | f233770ef810cd62e58ba64802a442b4421e2948 (diff) |
Docs: quiet warnings in reference doc syntax
-rw-r--r-- | doc/python_api/rst/bge_types/bge.types.KX_LightObject.rst | 14 | ||||
-rw-r--r-- | source/blender/python/mathutils/mathutils_geometry.c | 2 |
2 files changed, 9 insertions, 7 deletions
diff --git a/doc/python_api/rst/bge_types/bge.types.KX_LightObject.rst b/doc/python_api/rst/bge_types/bge.types.KX_LightObject.rst index f4d5b114372..5ba7f3b8e34 100644 --- a/doc/python_api/rst/bge_types/bge.types.KX_LightObject.rst +++ b/doc/python_api/rst/bge_types/bge.types.KX_LightObject.rst @@ -111,12 +111,14 @@ base class --- :class:`KX_GameObject` mat4_perspective_to_depth is a fixed matrix defined as follow: - 0.5 0.0 0.0 0.5 - 0.0 0.5 0.0 0.5 - 0.0 0.0 0.5 0.5 - 0.0 0.0 0.0 1.0 - Note: - There is one matrix of that type per lamp casting shadow in the scene. + 0.5 0.0 0.0 0.5 + 0.0 0.5 0.0 0.5 + 0.0 0.0 0.5 0.5 + 0.0 0.0 0.0 1.0 + + .. note: + + There is one matrix of that type per lamp casting shadow in the scene. :type: Matrix4x4 (read only) diff --git a/source/blender/python/mathutils/mathutils_geometry.c b/source/blender/python/mathutils/mathutils_geometry.c index a4ca2520919..ce9a9b519d8 100644 --- a/source/blender/python/mathutils/mathutils_geometry.c +++ b/source/blender/python/mathutils/mathutils_geometry.c @@ -417,7 +417,7 @@ PyDoc_STRVAR(M_Geometry_intersect_line_line_2d_doc, "\n" " Takes 2 segments (defined by 4 vectors) and returns a vector for their point of intersection or None.\n" "\n" -" .. warning:: Despite its name, this function works on segments, and not on lines..." +" .. warning:: Despite its name, this function works on segments, and not on lines.\n" "\n" " :arg lineA_p1: First point of the first line\n" " :type lineA_p1: :class:`mathutils.Vector`\n" |