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-02-22 18:48:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2007-02-22 18:48:26 +0300
commit9759a373d74ee5fa935d0ca24a52d6dfba2ce485 (patch)
tree04583f47ff1f7e11db9bf0eea3b72182c846a6e1 /release/scripts/uvcalc_lightmap.py
parentc540c8fa44edc26061eb2d965d79efd98c8f2f7b (diff)
Updating own scripts to use Blender.Main, remove Base files.
Diffstat (limited to 'release/scripts/uvcalc_lightmap.py')
-rw-r--r--release/scripts/uvcalc_lightmap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/uvcalc_lightmap.py b/release/scripts/uvcalc_lightmap.py
index 37c34c68710..b3a2bcfd9bf 100644
--- a/release/scripts/uvcalc_lightmap.py
+++ b/release/scripts/uvcalc_lightmap.py
@@ -466,7 +466,7 @@ def lightmap_uvpack(me, BOX_DIV = 8, MARGIN_DIV = 512):
def main():
- scn = Scene.GetCurrent()
+ scn = Main.scenes.active
ob = scn.objects.active
# print ob, ob.type