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/uvcalc_follow_active_coords.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/uvcalc_follow_active_coords.py')
-rw-r--r--release/scripts/uvcalc_follow_active_coords.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/uvcalc_follow_active_coords.py b/release/scripts/uvcalc_follow_active_coords.py
index 2a6648ab4e6..fc91c0b648a 100644
--- a/release/scripts/uvcalc_follow_active_coords.py
+++ b/release/scripts/uvcalc_follow_active_coords.py
@@ -43,7 +43,7 @@ import bpy
import BPyMesh
def extend():
- scn = bpy.scenes.active
+ scn = bpy.data.scenes.active
ob = scn.objects.active
# print ob, ob.type