mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 17:26:34 +00:00
zwave_neighborlist.js: bugfix (Forum #54574.0)
git-svn-id: https://svn.fhem.de/fhem/trunk@11783 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b2260a535e
commit
11fb5db29b
@ -250,8 +250,10 @@ zw_al(fnRet, width, height)
|
||||
for(var i1=0; i1<nEl; i1++) {
|
||||
var nl = lu[i1].neighbors;
|
||||
for(var i2=0; i2<nl.length; i2++) {
|
||||
if(!fnRet.el[nl[i2]])
|
||||
continue;
|
||||
var i3 = fnRet.el[nl[i2]].idx;
|
||||
dist[i1][i3] = dist[i3][i1] = 0.1
|
||||
dist[i1][i3] = dist[i3][i1] = 0.1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user