diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-04-18 18:40:01 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-04-18 18:40:01 +0400 |
commit | 3e1a5ce7a2596ebc135455f9934d128223cc089a (patch) | |
tree | e9d12a0e39c1de8e33e2b32965a91d8bd90a18c1 /release/scripts/uvcalc_lightmap.py | |
parent | a59f7c08cef1fd4f0ce60463fe93eb53a8dadffa (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_lightmap.py')
-rw-r--r-- | release/scripts/uvcalc_lightmap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/uvcalc_lightmap.py b/release/scripts/uvcalc_lightmap.py index 9fda4d44f85..64eb1bb4e75 100644 --- a/release/scripts/uvcalc_lightmap.py +++ b/release/scripts/uvcalc_lightmap.py @@ -505,7 +505,7 @@ PREF_MARGIN_DIV= 512): Window.RedrawAll() def main(): - scn = bpy.scenes.active + scn = bpy.data.scenes.active PREF_ACT_ONLY = Draw.Create(1) PREF_SEL_ONLY = Draw.Create(1) |