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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2006-07-05 07:51:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-07-05 07:51:32 +0400
commitcb8fa00a0949126cefb68906a0203d9e8f5f453c (patch)
treed1291e1cdd366878adcfbf874be61a8926731423 /source
parentde0af9d951bf3f15129847d8e078a5bb1d6fcc82 (diff)
Added a note in mathutils about how line intersect works
getSBEnable was removed and replaced by isSB, docs needed to be updated.
Diffstat (limited to 'source')
-rw-r--r--source/blender/python/api2_2x/doc/Mathutils.py4
-rw-r--r--source/blender/python/api2_2x/doc/Object.py14
2 files changed, 5 insertions, 13 deletions
diff --git a/source/blender/python/api2_2x/doc/Mathutils.py b/source/blender/python/api2_2x/doc/Mathutils.py
index adfd4da42b9..8178d8269c5 100644
--- a/source/blender/python/api2_2x/doc/Mathutils.py
+++ b/source/blender/python/api2_2x/doc/Mathutils.py
@@ -101,7 +101,9 @@ def QuadNormal(vec1, vec2, vec3, vec4):
def LineIntersect(vec1, vec2, vec3, vec4):
"""
- Return a tuple with the points on each line respectively closest to the other (when both lines intersect, both vector hold the same value).
+ Return a tuple with the points on each line respectively closest to the other
+ (when both lines intersect, both vector hold the same value).
+ The lines are evaluated as infinite lines in space, the values returned may not be between the 2 points given for each line.
@type vec1: Vector object.
@param vec1: A 3d vector, one point on the first line.
@type vec2: Vector object.
diff --git a/source/blender/python/api2_2x/doc/Object.py b/source/blender/python/api2_2x/doc/Object.py
index 2f0113a02cd..8fddec11be3 100644
--- a/source/blender/python/api2_2x/doc/Object.py
+++ b/source/blender/python/api2_2x/doc/Object.py
@@ -598,7 +598,7 @@ class Object:
def getType():
"""
Returns the type of the object in 'Armature', 'Camera', 'Curve', 'Lamp', 'Lattice',
- 'Mball', 'Mesh', 'Surf', 'Empty', 'Wave' (deprecated) or 'unknown' in exceptional cases.
+ 'MBall', 'Mesh', 'Surf', 'Empty', 'Wave' (deprecated) or 'unknown' in exceptional cases.
@return: The type of object.
I{B{Example:}}
@@ -1311,22 +1311,12 @@ class Object:
@param goal: the Object's SB New DefaultGoal.
"""
- def getSBEnable():
+ def isSB():
"""
Get if the Object's SB is Enabled.
@rtype: int
"""
- def setSBEnable(switch):
- """
- Enable / Disable SoftBodies.
- 1: on
- 0: off
- @rtype: PyNone
- @type switch: int
- @param switch: the Object's SB New Enable Value.
- """
-
def getSBPostDef():
"""
get SoftBodies PostDef option