Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
jginternational committed Oct 18, 2023
1 parent 5b15972 commit 308e066
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kratos.gid/apps/GeoMechanics/xml/XmlController.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ proc ::GeoMechanics::xml::Init { } {

Model::ForgetElements
Model::getElements Elements.xml

Model::getProcesses Processes.xml

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

Model::getNodalConditions NodalConditions.xml

Model::getProcesses Processes.xml

# Structural strategies and schemes filter elements by ImplementedInApplication StructuralMechanicsApplication
# In order to add our elements, we need to tell the schemes to accept GeoMechanicsApplication
Expand Down
1 change: 1 addition & 0 deletions kratos.gid/scripts/Applications.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ proc apps::ActivateApp_do {app} {
apps::ApplyAppPreferences $app


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

0 comments on commit 308e066

Please sign in to comment.