Corrected failure to update root box and crosshair position when

rescaling the internal units.  The former in particular can
cause problems when moving the root box and importing cells from
a script (same change as made to magic-8.1).
This commit is contained in:
Tim Edwards
2017-09-26 14:09:35 -04:00
parent 18ebf84ad8
commit 8ca2db78a2
2 changed files with 31 additions and 0 deletions
+9
View File
@@ -1453,6 +1453,9 @@ void
DBScaleEverything(scalen, scaled)
int scalen, scaled;
{
void ToolScaleBox();
void DBWScaleCrosshair();
int dbCellDefEnumFunc();
LinkedCellDef *lhead, *lcd;
@@ -1484,6 +1487,12 @@ DBScaleEverything(scalen, scaled)
/* Recovery of global plane pointers */
MZAttachHintPlanes();
/* Modify root box */
ToolScaleBox(scalen, scaled);
/* Modify crosshair position */
DBWScaleCrosshair(scalen, scaled);
SigEnableInterrupts();
}