batchmode fixes

This commit is contained in:
Joachim Schoeberl 2011-06-16 16:48:54 +00:00
parent 775a883375
commit a2857dc4f9
2 changed files with 6 additions and 2 deletions

View File

@ -89,8 +89,8 @@ if { [catch { load libgeom2dvis[info sharedlibextension] Ng_Geom2d } result ] }
puts "error: $result"
}
source ${ngdir}/csgeom.tcl
source ${ngdir}/stlgeom.tcl
catch { source ${ngdir}/csgeom.tcl }
catch { source ${ngdir}/stlgeom.tcl }
set hasocc no
catch { source ${ngdir}/occgeom.tcl }

View File

@ -175,6 +175,10 @@ int main(int argc, char ** argv)
if(parameters.GetDefineFlag("batchmode"))
nodisplay = true;
if(parameters.GetDefineFlag("solve"))
nodisplay = true;
if(parameters.GetDefineFlag("shellmode"))
{