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

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

View File

@@ -642,8 +642,8 @@ def redux(ob, REDUX=0.5, BOUNDRY_WEIGHT=2.0, REMOVE_DOUBLES=False, FACE_AREA_WEI
# Example usage
def main():
Blender.Window.EditMode(0)
scn= Blender.Scene.GetCurrent()
active_ob= scn.getActiveObject()
scn= Blender.Main.scenes.active
active_ob= scn.objects.active
t= Blender.sys.time()
redux(active_ob, 0.5)
print '%.4f' % (Blender.sys.time()-t)