Updated docs not to use Object.New() in examples, use scn.objects.*

Bugfix from ZanQdo, MOT files wouldent load in lightwave. also made some minor improvements.
This commit is contained in:
2007-01-27 02:15:14 +00:00
parent c7b50435da
commit 853785782e
12 changed files with 96 additions and 116 deletions

View File

@@ -36,11 +36,8 @@ def PolyFill(polylines):
me.verts.extend(polyline2)
me.faces.extend(fill) # Add the faces, they reference the verts in polyline 1 and 2
ob= Blender.Object.New('Mesh')
ob.link(me)
scn = Blender.Scene.GetCurrent()
scn.link(ob)
ob = scn.objects.new(me)
Blender.Redraw()
"""