diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-03-14 05:11:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-03-14 05:11:42 +0300 |
commit | d3ae4b9944c17e14a489255901a32dc8a77246e5 (patch) | |
tree | cf84eee9846d2254b985469656d7de2a9f295e25 /source/blender/python/api2_2x/doc/Object.py | |
parent | 4badc5da7af34e5e90406fee063cbe29c9b0a036 (diff) |
disabled Object.Duplicate() in background mode bacause it needs the 3d view, added a note in the docs.
Diffstat (limited to 'source/blender/python/api2_2x/doc/Object.py')
-rw-r--r-- | source/blender/python/api2_2x/doc/Object.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/doc/Object.py b/source/blender/python/api2_2x/doc/Object.py index c757f23456c..2ccc5a2eba8 100644 --- a/source/blender/python/api2_2x/doc/Object.py +++ b/source/blender/python/api2_2x/doc/Object.py @@ -193,6 +193,8 @@ def Duplicate (mesh=0, surface=0, curve=0, text=0, metaball=0, armature=0, lamp= By default no data linked to the object is duplicated; use the keyword arguments to change this. L{Object.GetSelected()<GetSelected>} will return the list of objects resulting from duplication. + B{Note}: This command will raise an error if used from the command line (background mode) because it uses the 3D view context. + @type mesh: bool @param mesh: When non-zero, mesh object data will be duplicated with the objects. @type surface: bool |