diff --git a/ng/ng.tcl b/ng/ng.tcl index 40d9c552..3aa7c693 100644 --- a/ng/ng.tcl +++ b/ng/ng.tcl @@ -242,6 +242,9 @@ if { $stereo == "defined" } { } +catch { source ${ngdir}/ngsolve.tcl } + + set scriptfilename [Ng_GetCommandLineParameter script] if { $scriptfilename != "undefined" } { if { [catch { source $scriptfilename } errstring] == 1 } { @@ -285,9 +288,6 @@ if { [file exists startup.tcl] } { # source ngusers/ebg/elasticity/ebgelast.tcl -catch { source ${ngdir}/ngsolve.tcl } - - # if { [catch { load libngsolve[info sharedlibextension] ngsolve } result ] } { # puts "cannot load ngsolve" # puts "error: $result"