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:
authorKen Hughes <khughes@pacific.edu>2007-07-07 21:33:46 +0400
committerKen Hughes <khughes@pacific.edu>2007-07-07 21:33:46 +0400
commitdb2cc0991389eddde299040b1606127940932eeb (patch)
tree13e0de250d3f4d3c31e804880e3ba34e01130c64 /source/blender/python/api2_2x/doc
parent71550bd3c610c98aa478f69a0ef971d3e299f44f (diff)
Correct comments in example for Python Ipo module doc.
Remove redundant description of yafrayGIMethod in Python Render module doc.
Diffstat (limited to 'source/blender/python/api2_2x/doc')
-rw-r--r--source/blender/python/api2_2x/doc/Ipo.py8
-rw-r--r--source/blender/python/api2_2x/doc/Render.py4
2 files changed, 5 insertions, 7 deletions
diff --git a/source/blender/python/api2_2x/doc/Ipo.py b/source/blender/python/api2_2x/doc/Ipo.py
index 68ac0c04b67..b8c472b371a 100644
--- a/source/blender/python/api2_2x/doc/Ipo.py
+++ b/source/blender/python/api2_2x/doc/Ipo.py
@@ -14,12 +14,12 @@ several IpoCurves, and an IpoCurve is composed of several BezTriples.
Example::
from Blender import Ipo
- ob = Ipo.Get('ObIpo') # retrieves an Ipo object
- ob.name = 'ipo1' # change the Ipo's name
- icu = ob[Ipo.OB_LOCX] # change here ipo to ob
+ ipo = Ipo.Get('ObIpo') # retrieves an Ipo object
+ ipo.name = 'ipo1' # change the Ipo's name
+ icu = ipo[Ipo.OB_LOCX] # request X Location Ipo curve
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
- ob[Ipo.OB_LOCX] = None # change here icu to ob
+ ipo[Ipo.OB_LOCX] = None # delete the Ipo curve
Each type of Ipo has different types Ipocurves. With the exception of Shape
Key Ipos, constants are used to specify all Ipocurves. There are two ways
diff --git a/source/blender/python/api2_2x/doc/Render.py b/source/blender/python/api2_2x/doc/Render.py
index c956d0cd6ee..70ac308768b 100644
--- a/source/blender/python/api2_2x/doc/Render.py
+++ b/source/blender/python/api2_2x/doc/Render.py
@@ -327,7 +327,7 @@ class RenderData:
@type set: BPy_Scene or None
@ivar yafrayGIMethod: Global Illumination method.
Valid values are NONE (0), SKYDOME (1) or FULL (2).
- @type yafrayGIMethod: int
+ @type yafrayGIMethod: int {NONE (0), SKYDOME (1), GIFULL (2)}
@ivar yafrayGIQuality: Global Illumination quality.
@type yafrayGIQuality: int {NONE (0), LOW (1), MEDIUM (2), HIGH (3), HIGHER (4), BEST (5), USEAOSETTINGS (6)}
@ivar yafrayExportToXML: If true export to an xml file and call yafray instead of plugin.
@@ -346,8 +346,6 @@ class RenderData:
@type yafrayAntiAliasingThreshold: float [0.05, 1.0]
@ivar yafrayNumberOfProcessors: Number of processors to use.
@type yafrayNumberOfProcessors: int [1, 8]
- @ivar yafrayGIMethod: Global illumination method.
- @type yafrayGIMethod: int {NONE (0), SKYDOME (1), GIFULL (2)}
@ivar yafrayGICache: Cache occlusion/irradiance samples (faster).
@type yafrayGICache: boolean
@ivar yafrayGICacheBumpNormals: Enable/disable bumpnormals for cache.