mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-08-29 17:39:28 +02:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user