Blender Git Commit Log

Git Commits -> Revision 1c2ce95

Revision 1c2ce95 by Campbell Barton (master)
June 12, 2009, 12:56 (GMT)
use contains for ListValue and KX_GameObject types (has_key is deprecated by python)
eg.
if 'prop' in gameOb: ...
if 'GameOb' in sce.objects: ...

Commit Details:

Full Hash: 1c2ce9535caa7ef0ed70aea5bd25c0f281322cf6
SVN Revision: 20828
Parent Commit: 96c5f36
Lines Changed: +86, -28

5 Modified Paths:

/source/gameengine/Expressions/ListValue.cpp (+31, -4) (Diff)
/source/gameengine/Ketsji/KX_Camera.cpp (+5, -2) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+44, -17) (Diff)
/source/gameengine/Ketsji/KX_GameObject.h (+1, -3) (Diff)
/source/gameengine/Ketsji/KX_Light.cpp (+5, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021