Blender Git Loki

Git Commits -> Revision fc079f8

Revision fc079f8 by Campbell Barton (master)
January 3, 2006, 05:38 (GMT)
made scene.getChildren() a heap faster. 983.3 times faster in my test.
getting 7200 objects did take: 1.18 sec, now 0.0012 sec

It was doing a full object list lookup for every object in the scenes base using the name to compare.
now it just gets the object directly from the base and converts it to a python object, adding it to the list.
- Cam

Commit Details:

Full Hash: fc079f8482a04b3e331fb4252549ce7e5c5a307b
SVN Revision: 6279
Parent Commit: fc6ec33
Lines Changed: +4, -10

1 Modified Path:

/source/blender/python/api2_2x/Scene.c (+4, -10) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021