Skip to content

Commit 308e066

Browse files
minor
1 parent 5b15972 commit 308e066

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

kratos.gid/apps/GeoMechanics/xml/XmlController.tcl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ proc ::GeoMechanics::xml::Init { } {
1010

1111
Model::ForgetElements
1212
Model::getElements Elements.xml
13+
14+
Model::getProcesses Processes.xml
1315

16+
# Set Water to false on all conditions coming from Structural Application
1417
foreach condition [Model::GetConditions] {
1518
$condition setAttribute Water False
1619
}
@@ -22,7 +25,6 @@ proc ::GeoMechanics::xml::Init { } {
2225

2326
Model::getNodalConditions NodalConditions.xml
2427

25-
Model::getProcesses Processes.xml
2628

2729
# Structural strategies and schemes filter elements by ImplementedInApplication StructuralMechanicsApplication
2830
# In order to add our elements, we need to tell the schemes to accept GeoMechanicsApplication

kratos.gid/scripts/Applications.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,7 @@ proc apps::ActivateApp_do {app} {
339339
apps::ApplyAppPreferences $app
340340

341341

342+
# If theme is dark, set the Black images dir before the normal one, so images for dark theme are loaded first
342343
if {[gid_themes::GetCurrentTheme] eq "GiD_black"} {
343344
set gid_groups_conds::imagesdirList [lsearch -all -inline -not -exact $gid_groups_conds::imagesdirList [list [file join $dir images]]]
344345
gid_groups_conds::add_images_dir [file join $dir images Black]

0 commit comments

Comments
 (0)