From 675ab027266a7107ba6e48b8ca37f742f0e969be Mon Sep 17 00:00:00 2001 From: Ken Hughes Date: Mon, 11 Dec 2006 17:13:56 +0000 Subject: [PATCH] Python API ---------- Fix some typos in the documentation. --- source/blender/python/api2_2x/doc/Group.py | 2 +- source/blender/python/api2_2x/doc/Object.py | 6 +++--- source/blender/python/api2_2x/doc/Scene.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/blender/python/api2_2x/doc/Group.py b/source/blender/python/api2_2x/doc/Group.py index 695ccb5ac81..c05d62774a1 100644 --- a/source/blender/python/api2_2x/doc/Group.py +++ b/source/blender/python/api2_2x/doc/Group.py @@ -91,7 +91,7 @@ class Group: @ivar users: Number of users this group has (read only) @ivar layers: Layer mask for this group. @ivar objects: Objects that this group uses. - This is a sequence with list like access so use list(grp.objects) if you need to use a list. (where grp is a group). + This is a sequence with-list like access so use list(grp.objects) if you need to use a list (where grp is a group). The groups objects can be set by assigning a list or iterator of objects to the groups objects. objects.link() and objects.unlink() also work with the the objects iterator just like with lists. """ diff --git a/source/blender/python/api2_2x/doc/Object.py b/source/blender/python/api2_2x/doc/Object.py index b793330bbc9..5e57b900f55 100644 --- a/source/blender/python/api2_2x/doc/Object.py +++ b/source/blender/python/api2_2x/doc/Object.py @@ -250,11 +250,11 @@ class Object: this object's ID Properties. Note that dict access is available for groups on the parent L{IDProperty} object, but for everything else you need to get the L{IDGroup} object from the L{IDProperty}'s data member. - @ivar restrictDisplay: Dont display this object in the 3d view, disabled by default, use the outliner to toggle. + @ivar restrictDisplay: Don't display this object in the 3D view: disabled by default, use the outliner to toggle. @type restrictDisplay: bool - @ivar restrictSelect: Dont select this object in the 3d view, disabled by default, use the outliner to toggle. + @ivar restrictSelect: Don't select this object in the 3D view: disabled by default, use the outliner to toggle. @type restrictSelect: bool - @ivar restrictRender: Dont render this object, disabled by default, use the outliner to toggle. + @ivar restrictRender: Don't render this object: disabled by default, use the outliner to toggle. @type restrictRender: bool @ivar LocX: The X location coordinate of the object. @type LocX: float diff --git a/source/blender/python/api2_2x/doc/Scene.py b/source/blender/python/api2_2x/doc/Scene.py index 00d0f00189c..2b841ec972d 100644 --- a/source/blender/python/api2_2x/doc/Scene.py +++ b/source/blender/python/api2_2x/doc/Scene.py @@ -107,7 +107,7 @@ class Scene: scene.layers = scene.layers.append(1) print scene.layers # will print: [1, 3] @type objects: sequence of objects - @ivar objects: An iterator for the scenes objects with with functions .link(ob) .unlink(ob) .new(obdata) + @ivar objects: The scene's objects. The sequence supports the methods .link(ob), .unlink(ob), and .new(obdata), and can be iterated over. """ def getName():