From 309e767b376bcf33cc9c40daad7cc2751379fae1 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Sat, 9 May 2009 13:03:37 +0000 Subject: [PATCH] first load ngsolve, then startup --- ng/ng.tcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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"