| 329 | |
| 330 | /// Adjust the nameIndex for elements in the group |
| 331 | template<class T> void adjustForNameRemoval(Vector<T>& group, S32 nameIndex) |
| 332 | { |
| 333 | for (S32 i = 0; i < group.size(); i++) |
| 334 | if (group[i].nameIndex > nameIndex) |
| 335 | group[i].nameIndex--; |
| 336 | } |
| 337 | |
| 338 | bool TSShape::removeName(const String& name) |
| 339 | { |