File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -277,9 +277,6 @@ proc Kratos::LoadModelSPD { filespd } {
277277 # Refresh the cache
278278 customlib::UpdateDocument
279279
280- # Load default files (if any) (file selection values store the filepaths in the spd)
281- spdAux::LoadModelFiles
282-
283280 # Load default intervals (if any)
284281 spdAux::LoadIntervalGroups
285282
@@ -288,6 +285,9 @@ proc Kratos::LoadModelSPD { filespd } {
288285
289286 apps::ExecuteOnCurrentApp LoadModelEvent $filespd
290287
288+ # Load default files (if any) (file selection values store the filepaths in the spd)
289+ spdAux::LoadModelFiles
290+
291291 # Open the tree
292292 spdAux::OpenTree
293293
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ proc ::spdAux::LoadModelFiles { {root "" }} {
2222 }
2323 set files [$root getElementsByTagName " file" ]
2424 if {[llength $files ] > 0} {
25- Kratos::LoadImportFiles
25+ # Kratos::LoadImportFiles
2626 foreach elem $files {
2727 FileSelector::AddFile [$elem @n]
2828 }
@@ -38,7 +38,7 @@ proc ::spdAux::SaveModelFile { fileid } {
3838}
3939
4040proc ::spdAux::ProcGetFilesValues { domNode } {
41- Kratos::LoadImportFiles
41+ # Kratos::LoadImportFiles
4242 customlib::UpdateDocument
4343 spdAux::LoadModelFiles
4444 lappend listilla $::spdAux::no_file_string
You can’t perform that action at this time.
0 commit comments