stefanbeller/tiled — comment on commit 9d7bd49404e2dda3c1128beea44dee1157c8c7dd
File:  line 0
By stefanbeller:

That will work as well I think.
I had another proposal pushed just now, which is https://github.com/stefanbeller/tiled/commit/bc3df7549c43009e7952be47e77bcea039852e1e
There I replace the first access of ruleRegionInLayer[i] = ... by ruleRegionInLayer.append(...)