> i before include is "1" and after include its "3". > So "i" of the wall is changed by having also "i" in brickgroup template.....
> for (i = 0; i < brickGroups.size(); i++) {
Where is 'i' declared? (Such problems are one of the reasons for
for-each loops)
Cheers,
Andreas
