split_stroke optimization #2
authorMartin Renold <martinxyz@gmx.ch>
Sun, 21 Aug 2011 13:03:06 +0000 (15:03 +0200)
committerMartin Renold <martinxyz@gmx.ch>
Sun, 21 Aug 2011 13:07:27 +0000 (15:07 +0200)
commit8ae583e4679e08a291bf09ff15e48c1be6df35bc
tree3254853bcec770a6f526dee9aaadd305c38c75b4
parentd9448b9d533c1e25e8f5486e7ed2fdc5a16834da
split_stroke optimization #2

Turns out that we call load_snapshot() after every completed stroke.
While this seems to be pointless, it doesn't cause any harm if we
check whether the snapshots are equal before doing more work.
lib/tiledsurface.py