Minor template code patch. (objectHitList =/= hitObjectList)
ClosedPublic

Authored by Charles Scoville (CharlesScoville) on Jul 25 2017, 9:53 PM.

Details

Summary

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.

Diff Detail

Repository
rB Blender
Charles Scoville (CharlesScoville) created this object with edit policy "Administrators".
This revision is now accepted and ready to land.Jul 26 2017, 3:39 PM
This revision was automatically updated to reflect the committed changes.