Blender Git Loki

Git Commits -> Revision 320fc70

Revision 320fc70 by Aaron Carlisle (master)
July 26, 2017, 20:05 (GMT)
Minor template code patch. (objectHitList =/= hitObjectList)

The Blender text editor's built in python template "Gamelogic" has a reference near the bottom to "objectHitList" as an alleged attribute to the KX_TouchSensor. This name is incorrect, it's correct name is "hitObjectList."

Attempting to access the suggested objectHitList returns error...
```
AttributeError: 'KX_TouchSensor' object has no attribute 'objectHitList'
```

The provided diff corrects this minor error.

Reviewers: kupoman, moguri, campbellbarton, Blendify

Reviewed By: Blendify

Tags: #game_engine, #game_python

Differential Revision: https://developer.blender.org/D2748

Commit Details:

Full Hash: 320fc70cf223ba3d8c3822302d5f353861278089
Parent Commit: 66e28a2
Lines Changed: +1, -1

1 Modified Path:

/release/scripts/templates_py/gamelogic.py (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021