src/editmodes/magicWandMode.cpp

changeset 1065
c8ecddbd99e9
parent 1063
1f15c52c11f6
child 1072
9ce9496427f2
equal deleted inserted replaced
1064:4c7a353cf583 1065:c8ecddbd99e9
150 break; 150 break;
151 } 151 }
152 } 152 }
153 } 153 }
154 154
155 if (length(matches) < matchesneeded) 155 if (countof(matches) < matchesneeded)
156 throw 0; // Not enough matches. 156 throw 0; // Not enough matches.
157 157
158 // Check if a boundary gets in between the objects. 158 // Check if a boundary gets in between the objects.
159 for (auto boundary : boundaries) 159 for (auto boundary : boundaries)
160 { 160 {

mercurial