### Eclipse Workspace Patch 1.0 #P org.eclipse.draw2d Index: src/org/eclipse/draw2d/DeferredUpdateManager.java =================================================================== RCS file: /cvsroot/tools/org.eclipse.draw2d/src/org/eclipse/draw2d/DeferredUpdateManager.java,v retrieving revision 1.22 diff -u -r1.22 DeferredUpdateManager.java --- src/org/eclipse/draw2d/DeferredUpdateManager.java 5 Apr 2006 14:21:13 -0000 1.22 +++ src/org/eclipse/draw2d/DeferredUpdateManager.java 22 Nov 2006 19:03:35 -0000 @@ -137,11 +137,13 @@ void paint(GC gc) { SWTGraphics graphics = new SWTGraphics(gc); - if (!updating) { + if (!updating) { /** * If a paint occurs not as part of an update, we should notify that the region * is being painted. Otherwise, notification already occurs in repairDamage(). + * Validation should be done too, because some figures might be invalid. */ + performValidation(); HashMap map = new HashMap(); Rectangle rect = graphics.getClip(new Rectangle()); map.put(root, rect);