Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/python_api/rst/bge_types/bge.types.KX_LightObject.rst14
-rw-r--r--source/blender/python/mathutils/mathutils_geometry.c2
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"