This commit is contained in:
Bruno Rybársky 2022-07-11 10:44:59 +02:00
parent 6a3de66ca4
commit 388d2ad402

@ -123,7 +123,8 @@ local selectionbox =
} }
-- go to the next nodeid (ex.: 01000011 --> 01000100) -- go to the next nodeid (ex.: 01000011 --> 01000100)
local nid_inc = function (nid) local nid_inc = function() end
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