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:
authorCampbell Barton <ideasman42@gmail.com>2007-04-18 18:40:01 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-04-18 18:40:01 +0400
commit3e1a5ce7a2596ebc135455f9934d128223cc089a (patch)
treee9d12a0e39c1de8e33e2b32965a91d8bd90a18c1 /release/scripts/object_apply_def.py
parenta59f7c08cef1fd4f0ce60463fe93eb53a8dadffa (diff)
PyAPI.
moved bpy into bpy.data and bpy will be eventually replace the root level 'Blender' module. currently we have bpy.library bpy.config and bpy.data
Diffstat (limited to 'release/scripts/object_apply_def.py')
-rw-r--r--release/scripts/object_apply_def.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/object_apply_def.py b/release/scripts/object_apply_def.py
index e7cdf4089b1..67e4179a674 100644
--- a/release/scripts/object_apply_def.py
+++ b/release/scripts/object_apply_def.py
@@ -86,7 +86,7 @@ def copy_vgroups(source_ob, target_ob):
def apply_deform():
- scn= bpy.scenes.active
+ scn= bpy.data.scenes.active
#Blender.Window.EditMode(0)
NAME_LENGTH = 19