diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-03-26 23:44:44 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-03-26 23:44:44 +0400 |
commit | 2b8bed8598004683bb20efad6e9bd15243ad2d24 (patch) | |
tree | 740c4ad4f81b7c2ad5a06f89514cf1a044b4a2cc /release/scripts/object_batch_name_edit.py | |
parent | e968f6ec4bdfdacb1148340c137e2a50ce740139 (diff) |
py api
* stopped bpy from importing automaticaly as decieded in the meeting.
* removed Blender.Main, since we agree it will be called bpy, renamed files also.
* updated epydocs from this and last commit.
* updated scripts to use bpy.*, and bugfix's for widgetwizard
Diffstat (limited to 'release/scripts/object_batch_name_edit.py')
-rw-r--r-- | release/scripts/object_batch_name_edit.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/object_batch_name_edit.py b/release/scripts/object_batch_name_edit.py index eff43e05fa8..d9725c66ea8 100644 --- a/release/scripts/object_batch_name_edit.py +++ b/release/scripts/object_batch_name_edit.py @@ -43,10 +43,11 @@ menu of the 3d View. # ***** END GPL LICENCE BLOCK ***** # -------------------------------------------------------------------------- from Blender import * +import bpy global renameCount renameCount = 0 -obsel = Main.scenes.active.objects.context +obsel = bpy.scenes.active.objects.context def setDataNameWrapper(ob, newname): if ob.getData(name_only=1) == newname: |