Updating own scripts to use Blender.Main, remove Base files.

This commit is contained in:
Campbell Barton
2007-02-22 15:48:26 +00:00
parent c540c8fa44
commit 9759a373d7
17 changed files with 21 additions and 800 deletions

View File

@@ -384,7 +384,7 @@ def getMeshFromObject(ob, container_mesh=None, apply_modifiers=True, vgroups=Tru
'''
if not scn:
scn= Blender.Scene.GetCurrent()
scn= Blender.Main.scenes.active
if not container_mesh:
mesh = Blender.Mesh.New()
else: