Fix the same bug as the last commit, but better. Deleting from a set doesn't invalid...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 3 Feb 2008 23:11:46 +0000 (23:11 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 3 Feb 2008 23:11:46 +0000 (23:11 +0000)
commit4d2cf011c73551bbe67518097063e22ecdac7c7c
tree7db308690054f0745730fb35bdc1f10b72d58f3d
parent78e15db42e8bd6cfce82576d3c1d1659200b2074
Fix the same bug as the last commit, but better.  Deleting from a set doesn't invalidate the set iterator *unless the iterator was pointing at the deleted element*.

git-svn-id: http://svn.voria.com/code@1571 1f10aa63-cdf2-0310-b900-c93c546f37ac
synfig-core/trunk/src/synfig/canvas.cpp