mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
mesh.ini file bug fix
This commit is contained in:
parent
309e767b37
commit
9ea5bbe6cc
@ -639,10 +639,9 @@ proc saveinifile { } {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
proc savemeshinifile { } {
|
proc savemeshinifile { } {
|
||||||
uplevel 1 {
|
uplevel 1 {
|
||||||
if {[catch { set datei [open ngmesh.ini w] } result } {
|
if {[catch { set datei [open ngmesh.ini w] } result ]} {
|
||||||
puts "cannot write to ng.ini file"
|
puts "cannot write to ng.ini file"
|
||||||
} {
|
} {
|
||||||
for { set i [.ngmenu.file.recentmesh index last] } { $i >= 1 } { incr i -1 } {
|
for { set i [.ngmenu.file.recentmesh index last] } { $i >= 1 } { incr i -1 } {
|
||||||
@ -651,8 +650,6 @@ proc savemeshinifile { } {
|
|||||||
close $datei
|
close $datei
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
proc loadinifile { } {
|
proc loadinifile { } {
|
||||||
|
Loading…
Reference in New Issue
Block a user