From cfbaf15528e694375e4a9b59ee34c70b7659fc66 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Fri, 11 Sep 2009 17:31:40 +0000 Subject: [PATCH] version 4.9.11 --- configure.ac | 2 +- libsrc/include/mydefs.hpp | 2 +- ng/drawing.tcl | 2 ++ ng/menustat.tcl | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 7c8f37c4..836945fe 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -AC_INIT([netgen],[4.9.11-dev],[],[]) +AC_INIT([netgen],[4.9.11],[],[]) AM_INIT_AUTOMAKE([-Wall -Werror foreign]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/libsrc/include/mydefs.hpp b/libsrc/include/mydefs.hpp index ba41c8d3..cf5322cd 100644 --- a/libsrc/include/mydefs.hpp +++ b/libsrc/include/mydefs.hpp @@ -20,7 +20,7 @@ // in the configure/make phases, with the // right version number #ifdef WIN32 -#define PACKAGE_VERSION "4.9.11-dev" +#define PACKAGE_VERSION "4.9.11" #endif diff --git a/ng/drawing.tcl b/ng/drawing.tcl index f3ee50ab..4975ae4c 100644 --- a/ng/drawing.tcl +++ b/ng/drawing.tcl @@ -8,8 +8,10 @@ set oldmousey 0 # if { 1 } { # use this one for Togl 2.0 + # if {[catch {togl .ndraw -width 400 -height 300 -rgba true -double true -depth true -privatecmap false -stereo false -indirect true -create init -display draw -reshape reshape }] } { + if {[catch {togl .ndraw -width 400 -height 300 -rgba true -double true -depth true -privatecmap false -stereo false -indirect true }] } { puts "no OpenGL" diff --git a/ng/menustat.tcl b/ng/menustat.tcl index fcee4697..92eeff43 100644 --- a/ng/menustat.tcl +++ b/ng/menustat.tcl @@ -49,7 +49,7 @@ menu .ngmenu.file # {"New Geometry file" {.ngg} } - set file [tk_getOpenFile -filetypes $types] + set file [tk_getOpenFile -filetypes $types -initialdir $dirname] if {$file != ""} { AddRecentFile $file Ng_LoadGeometry $file