Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2006-10-25 17:33:08 +0400
committerCampbell Barton <ideasman42@gmail.com>2006-10-25 17:33:08 +0400
commit80ffbee6f77dd84a9032a41b4699214f8fe54a11 (patch)
treeef873ef09a6048b9a51460166c8a5680e52d281a /source/blender/python/api2_2x/Scene.c
parent9b7125fafc37f123a53e4aa7311a05e257ca0090 (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.c1
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;