maybe a fix

This commit is contained in:
Bruno Rybársky 2022-07-11 10:41:56 +02:00
parent 437bb15b79
commit 6a3de66ca4

@ -123,8 +123,7 @@ local selectionbox =
} }
-- go to the next nodeid (ex.: 01000011 --> 01000100) -- go to the next nodeid (ex.: 01000011 --> 01000100)
local nid_inc = function() end local nid_inc = function (nid)
nid_inc = function (nid)
local i = 0 local i = 0
while nid[i-1] ~= 1 do while nid[i-1] ~= 1 do
nid[i] = (nid[i] ~= 1) and 1 or 0 nid[i] = (nid[i] ~= 1) and 1 or 0