| 84 | } |
| 85 | |
| 86 | void ForestCreateUndoAction::undo() |
| 87 | { |
| 88 | for ( S32 i = mItems.size()-1; i >= 0; i-- ) |
| 89 | { |
| 90 | const ForestItem &item = mItems[i]; |
| 91 | mData->removeItem( item.getKey(), item.getPosition() ); |
| 92 | } |
| 93 | |
| 94 | mEditor->onUndoAction(); |
| 95 | } |
| 96 | |
| 97 | |
| 98 |
nothing calls this directly
no test coverage detected