diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-08-09 05:53:34 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-08-09 05:53:34 +0400 |
commit | a5d0af3b4f83b6d9b60174e86f97e799f7c5b2d7 (patch) | |
tree | 06125a71548d6299145d1b7b46fd9be4fe432440 /source | |
parent | 49e778ed7fc7b7b0cb5163ad75fcb3152cfa184e (diff) |
Type in effect docs, edited some of the object docs also.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/python/api2_2x/doc/Effect.py | 4 | ||||
-rw-r--r-- | source/blender/python/api2_2x/doc/Object.py | 7 |
2 files changed, 7 insertions, 4 deletions
diff --git a/source/blender/python/api2_2x/doc/Effect.py b/source/blender/python/api2_2x/doc/Effect.py index 14f05203212..d0dd3fe998a 100644 --- a/source/blender/python/api2_2x/doc/Effect.py +++ b/source/blender/python/api2_2x/doc/Effect.py @@ -569,8 +569,8 @@ class Effect: effects= Effect.Get() for eff in effects: - for p in ee.getParticlesLoc(): - # p is either a vector or a list of vectors + for p in eff.getParticlesLoc(): + # p is either a vector or a list of vectors. me.verts.extend() will deal with either print p me.verts.extend(p) diff --git a/source/blender/python/api2_2x/doc/Object.py b/source/blender/python/api2_2x/doc/Object.py index eef4eff177b..9e69688c983 100644 --- a/source/blender/python/api2_2x/doc/Object.py +++ b/source/blender/python/api2_2x/doc/Object.py @@ -233,6 +233,8 @@ class Object: the 3d View and Buttons windows) is redrawn. @ivar parent: The parent object of the object. (Read-only) @ivar track: The object tracking this object. (Read-only) + @ivar type: The object type. (Read-only) + @type type: string. @ivar data: The data of the object. (Read-only) @ivar ipo: The ipo data associated with the object. (Read-only) @ivar mat: alias for L{matrix<Object.Object.matrix>}: the matrix of the object in world space. (Read-only) @@ -553,7 +555,8 @@ class Object: the scene and prints the name of each object:: import Blender - objects = Blender.Object.Get() + scn= Blender.Scene.GetCurrent() + objects = scn.getChildren() for obj in objects: print obj.getName() @@ -689,7 +692,7 @@ class Object: @note: Join will only work for object types Mesh, Armature, Curve and Surface, an error will be raised if the object is not of this type. @note: objects in the list will be ignored if they to not match the base object. - @note: objects must be in the current scene to be joined. + @note: The base object as all objects must be in the current scene to be joined. @note: this function will not work in background mode (no user interface) @note: An error in the join function input will raise a TypeError, otherwise an error in the data input will raise a RuntimeError, |