Code

yet another crash/freeze in ungrab. IMPORTANT: the document_done calls and others...
authorbuliabyak <buliabyak@users.sourceforge.net>
Mon, 20 Nov 2006 18:37:19 +0000 (18:37 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Mon, 20 Nov 2006 18:37:19 +0000 (18:37 +0000)
commit7926cf81f3c0dfb18b03c12c7cc5ba3a0d68dd77
treeefe1a21596c3debcd8cb93cf99dade725f1f7a64
parentc5a8e88cc8e3c2276aee92c36a3d85e9ac9a73e4
yet another crash/freeze in ungrab. IMPORTANT: the document_done calls and others triggering screen redraw must come absolutely the last in any function, otherwise, because of the events that happened during the redraw, you risk seeing a vastly different landscape when you return for the remainder of your function (e.g. the tool context may have changed), and it will likely misbehave.
src/seltrans.cpp