diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-10-25 17:33:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-10-25 17:33:08 +0400 |
commit | 80ffbee6f77dd84a9032a41b4699214f8fe54a11 (patch) | |
tree | ef873ef09a6048b9a51460166c8a5680e52d281a /source/blender/python/api2_2x/Scene.c | |
parent | 9b7125fafc37f123a53e4aa7311a05e257ca0090 (diff) |
was missing a return of len, so scn.objects.context was always returning 0
Diffstat (limited to 'source/blender/python/api2_2x/Scene.c')
-rw-r--r-- | source/blender/python/api2_2x/Scene.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Scene.c b/source/blender/python/api2_2x/Scene.c index effad817b34..3f2d8071c55 100644 --- a/source/blender/python/api2_2x/Scene.c +++ b/source/blender/python/api2_2x/Scene.c @@ -1144,6 +1144,7 @@ static int SceneObSeq_len( BPy_SceneObSeq * self ) len++; } } + return len; } /*should never run this */ return 0; |