Hi. Just a quick word that more updates are available at the repo and a simple 'svn update' will bring them to your copy of the code. I've fixed a number of redraw issues regarding transferring entities between layers and other editing operations, though still more fixes will be needed (i.e. entity moving).
The latest fixes also include a nice optimization regarding operations where multiple entities are added, deleted, or modified. The changed redraw code was calling the gtk.DrawingArea queue_draw() method for each entity change; this call copies the offscreen pixmap onto the screen. If an operation was done on a group of entities, such as deleteing everything within a box, then each deletion would end up invoking queue_draw(), even though you probably could not see it. Now, thanks to adding some new messages to the Image class, operations contained within startAction()/endAction() blocks will do whatever offscreen drawing is needed, but the queue_draw() call will only happen once endAction() is called, potentially avoiding many refresh calls yet showing the one that counts - the results of all the operations. I'm going to try and make a release at the end of this week, but if that doesn't happen then most likely next week will see a release. Art -- Man once surrendering his reason, has no remaining guard against absurdities the most monstrous, and like a ship without rudder, is the sport of every wind. -Thomas Jefferson to James Smith, 1822 _______________________________________________ PythonCAD mailing list [email protected] http://mail.python.org/mailman/listinfo/pythoncad
