| 233 | } |
| 234 | |
| 235 | bool Selection::add(const GridInfo &info) |
| 236 | { |
| 237 | PROFILE_SCOPE( TerrainEditor_Selection_Add ); |
| 238 | |
| 239 | S32 index = lookup(info.mGridPoint.gridPos); |
| 240 | if(index != -1) |
| 241 | return(false); |
| 242 | |
| 243 | insert(info); |
| 244 | return(true); |
| 245 | } |
| 246 | |
| 247 | bool Selection::getInfo(Point2I pos, GridInfo & info) |
| 248 | { |
no test coverage detected