Skip to content

Commit f4876a8

Browse files
hotfix previous state respect
1 parent fc4b7fa commit f4876a8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

kratos.gid/apps/DEM/xml/Parts.spd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<dependencies node="../value[@n = 'ConstitutiveLaw']" actualize="1" />
66
</value>
77
<dynamicnode command="spdAux::injectPartElementInputs" args=""/>
8-
<value n="AdvancedMeshingFeatures" pn="Advanced meshing features" v="No" values="No,Yes" help="The standard meshing features use the default sphere mesher, filling a volume with spheres. Use the Advanced Meshing Features to have access to more advanced options">
8+
<value n="AdvancedMeshingFeatures" pn="Advanced meshing features" v="No" values="No,Yes" state="normal" help="The standard meshing features use the default sphere mesher, filling a volume with spheres. Use the Advanced Meshing Features to have access to more advanced options">
99
<dependencies node="../value[@n!='Material']" actualize="1"/>
1010
</value>
1111

kratos.gid/scripts/Controllers/CommonProcs.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ proc spdAux::ProcUpdateParts {domNode args} {
916916
# If a parameter type is file and the option selected is select file -> open it
917917
set params [$current selectNodes "./value"]
918918
foreach val $params {
919-
if {[$val @n] ni $exclusion_list} {
919+
if {[$val @n] ni $exclusion_list && [$val @state] eq ""} {
920920
$val setAttribute state "\[PartParamState\]"
921921
}
922922
}

0 commit comments

Comments
 (0)