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:
authorKen Hughes <khughes@pacific.edu>2006-08-21 23:11:43 +0400
committerKen Hughes <khughes@pacific.edu>2006-08-21 23:11:43 +0400
commit18ab4ff62dadc836ad3e302b9253d4257a889a49 (patch)
tree57ec00c8e59f3c5a6656aaec069c2e56b3ab7166 /source
parente5be894a29fa1a44cd11da18dbd094e32bb54dfb (diff)
===Python API===
Fix various typos in Modifier, IpoCurve and Armature docs.
Diffstat (limited to 'source')
-rw-r--r--source/blender/python/api2_2x/doc/Armature.py2
-rw-r--r--source/blender/python/api2_2x/doc/IpoCurve.py7
-rw-r--r--source/blender/python/api2_2x/doc/Modifier.py2
3 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/python/api2_2x/doc/Armature.py b/source/blender/python/api2_2x/doc/Armature.py
index cce406a197a..587cadd74ad 100644
--- a/source/blender/python/api2_2x/doc/Armature.py
+++ b/source/blender/python/api2_2x/doc/Armature.py
@@ -118,7 +118,7 @@ def Get (name = None):
def New (name = None):
"""
- Return a new armatre.
+ Return a new armature.
@type name: string or nothing
@param name: The string name of the new armature.
@rtype: Blender Armature.
diff --git a/source/blender/python/api2_2x/doc/IpoCurve.py b/source/blender/python/api2_2x/doc/IpoCurve.py
index 59288bf1f97..93cc1aba44b 100644
--- a/source/blender/python/api2_2x/doc/IpoCurve.py
+++ b/source/blender/python/api2_2x/doc/IpoCurve.py
@@ -13,8 +13,8 @@ BezTriples.
Example::
import Blender
- ob = Blender.Ipo.Get('ObIpo') # retrieves an Ipo object
- ob.name = 'ipo1' # change the Ipo's name
+ ipo = Blender.Ipo.Get('ObIpo') # retrieves an Ipo object
+ ipo.name = 'ipo1' # change the Ipo's name
icu = ipo[Blender.Ipo.OB_LOCX] # request X Location Ipo curve object
if icu != None and len(icu.bezierPoints) > 0: # if curve exists and has BezTriple points
val = icu[2.5] # get the curve's value at time 2.5
@@ -153,8 +153,7 @@ class IpoCurve:
def delBezier(index):
"""
- Deletes a Bezier point from a curve (B{deprecated}). B{Note}:
- new scripts should use B{del icu[index]} instead.
+ Deletes a Bezier point from a curve.
@type index: integer
@param index: the index of the Bezier point. Negative values index from the end of the list.
@rtype: None
diff --git a/source/blender/python/api2_2x/doc/Modifier.py b/source/blender/python/api2_2x/doc/Modifier.py
index e11f1a88e66..c721b3ea021 100644
--- a/source/blender/python/api2_2x/doc/Modifier.py
+++ b/source/blender/python/api2_2x/doc/Modifier.py
@@ -21,7 +21,7 @@ Example::
Example::
# Apply a lattice to an object and get the deformed object
- # Uses an object called 'Cube' and a lattive called ''Lattive
+ # Uses an object called 'Cube' and a lattice called 'Lattice'
from Blender import *
ob_mesh= Object.Get('Cube')