Closed tomvantilburg closed 5 years ago
in terrain.py line 653: if self.vLight: should become if len(self.vLight) > 0: since self.vLight is a list.
if self.vLight:
if len(self.vLight) > 0:
Currently it results in a numpy error mentioning The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
in terrain.py line 653:
if self.vLight:
should becomeif len(self.vLight) > 0:
since self.vLight is a list.Currently it results in a numpy error mentioning
The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()