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>2009-05-26 20:15:40 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-05-26 20:15:40 +0400
commit33b974ee43c2d6c131860efbe02fd478197b9fda (patch)
tree459ef7b438e969938baa3f6049e5d0668ea62926 /source/gameengine/Ketsji/KXNetwork
parent7e48820a97a1cc5d806caa2c7ea5b47f4809aa58 (diff)
BGE Py API
- Deprecation warnings for using attribute access - Added dictionary functions to KX_GameObject and ListValue ob.get(key, default=None) ob.has_key(key) ob.has_key is important since there was no way to do something like hasattr(ob, "attr") which can be replaced by ob.has_key("attr") - (both still work of course). ob.get is just useful in many cases where you want a property if it exists but can fallback to a default. - CListValue::FindValue was adding a reference but the ~3 places it was used were releasing the reference. added a FindValue that accepts a const char* type to avoid converting python strings to STR_String.
Diffstat (limited to 'source/gameengine/Ketsji/KXNetwork')
0 files changed, 0 insertions, 0 deletions