mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 23:58:20 +00:00
Fix reference to vector components in llEdgeOfWorld.
This commit is contained in:
parent
2a76b26e13
commit
9d63e7268d
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ def llDetectedVel(idx, event=None):
|
||||||
def llEdgeOfWorld(v1, v2):
|
def llEdgeOfWorld(v1, v2):
|
||||||
assert isvector(v1)
|
assert isvector(v1)
|
||||||
assert isvector(v2)
|
assert isvector(v2)
|
||||||
if v2.x == v2.y == 0:
|
if v2[0] == v2[1] == 0:
|
||||||
return 1
|
return 1
|
||||||
raise ELSLCantCompute
|
raise ELSLCantCompute
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue