mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Removed an "if" statement that was apparently designed to
reduce the amount of redundant painting done by the connectivity search algorithm, but which was preventing composed types (such as FET gates) from getting added to a net if one of the composing types (such as poly) was drawn over the device in an ancestor cell. Removing the "if" statement does not appear to have any significant performance impact, so this change is being adopted.
This commit is contained in:
@@ -1025,8 +1025,7 @@ dbcConnectFunc(tile, cx)
|
||||
* the storage for the current list element.
|
||||
*/
|
||||
|
||||
if ((retval == 1) || DBIsContact(loctype))
|
||||
DBNMPaintPlane(def->cd_planes[pNum], dinfo,
|
||||
DBNMPaintPlane(def->cd_planes[pNum], dinfo,
|
||||
&newarea, DBStdPaintTbl(loctype, pNum),
|
||||
(PaintUndoInfo *) NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user