pencil2d/pencil — pull request #108 by eVoLuTiVeMEDIA (2013-07-29 12:39:14+00:00)
Title: Some undo issue preventions for clearImage & deleteSelection

1. Prevent from unnecessary updates
2. Prevent from extra undo backups
3. Optimised if-else