* Returns the number of edit locked control points * * @return Number of edit locked control points */
| 1370 | * @return Number of edit locked control points |
| 1371 | */ |
| 1372 | int ControlNet::GetNumEditLockPoints() { |
| 1373 | int editLockPoints = 0; |
| 1374 | foreach(ControlPoint * p, *points) { |
| 1375 | if (p->IsEditLocked()) |
| 1376 | editLockPoints++; |
| 1377 | } |
| 1378 | |
| 1379 | return editLockPoints; |
| 1380 | } |
| 1381 | |
| 1382 | |
| 1383 | /** |