Moved the read-in of the readspice script from the wrapper to the

startup file, since the script is not (and should not be) wrapper-
dependent.
This commit is contained in:
Tim Edwards 2020-05-28 12:40:28 -04:00
parent 8165519a3c
commit 53a488989f
2 changed files with 8 additions and 4 deletions

View File

@ -263,6 +263,14 @@ if {[file exists ${CAD_ROOT}/magic/tcl/toolkit.tcl]} {
set Opts(toolkit) 0
}
#----------------------------------------------------------------------
# Check for presence of the readspice script and include it
if {[file exists ${CAD_ROOT}/magic/tcl/readspice.tcl]} {
source ${CAD_ROOT}/magic/tcl/readspice.tcl
set Opts(readspice) 0
}
#----------------------------------------------------------------------
# Magic start function drops back to interpreter after initialization & setup

View File

@ -392,10 +392,6 @@ catch {source ${CAD_ROOT}/magic/tcl/drcmgr.tcl}
catch {source ${CAD_ROOT}/magic/tcl/texthelper.tcl}
# Add the readspice command for port annotation
catch {source ${CAD_ROOT}/magic/tcl/readspice.tcl}
# Create or redisplay the technology manager
proc magic::techmanager {{option "update"}} {