Skip to content

Commit

Permalink
core.app: skip array indices when traversing input links
Browse files Browse the repository at this point in the history
Input links are recorded twice in compute_breathe_order(), once by
name and once by index. This commit restricts this to the name.
  • Loading branch information
alexandergall committed Jan 11, 2019
1 parent 771b55c commit a2097f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core/app.lua
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,10 @@ function compute_breathe_order ()
end
end
for linkname,link in pairs(app.input) do
linknames[link] = appname..'.'..linkname
inputs[link] = app
if type(linkname) == "string" then
linknames[link] = appname..'.'..linkname
inputs[link] = app
end
end
end
for link,app in pairs(inputs) do
Expand Down

0 comments on commit a2097f3

Please sign in to comment.