Error in accessing the listbase needed to use BLI_countlist(&lb) rather then BLI_countlist(lb)

fixed, thanks jms for the hint.
This commit is contained in:
2006-04-18 15:37:32 +00:00
parent 70c7865e85
commit 2b46b624f8
2 changed files with 2 additions and 2 deletions

View File

@@ -277,7 +277,7 @@ class Object:
from Blender import Object, Scene, Mathutils
ob= Object.Get('Cube')
dupe_obs= ob.getDupliObjects()
dupe_obs= ob.DupObjects
scn= Scene.GetCurrent()
for dupe_ob, dupe_matrix in dupe_obs:
print dupe_ob.name