diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-03-03 10:41:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-03-03 10:41:09 +0300 |
commit | 3a2ce2be8337196436a464e4f865bb84d28485a5 (patch) | |
tree | 1b412bd190dee79250bd477f7992d4d09730c70a /source/gameengine/Ketsji/KX_ObjectActuator.cpp | |
parent | b535c738d968b84bfefcd9cfa38a549d53b68c04 (diff) |
Py/RNA api - real collection iterator
Previously the api just converted the collection to a list and got the iterator from the list to return.
This has the advantage that it uses minimal memory on large collections where before it would make an array.
Though the main reason for this change is to support a bugfix for collections which free memory when they are done, this currently crashes the python api since once the list is built, the data is freed which is used by the list items in some cases (dynamic enums for eg).
Diffstat (limited to 'source/gameengine/Ketsji/KX_ObjectActuator.cpp')
0 files changed, 0 insertions, 0 deletions