File tree Expand file tree Collapse file tree
kratos.gid/scripts/Controllers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -234,7 +234,11 @@ proc spdAux::_injectCondsToTree {basenode cond_list {cond_type "normal"} args }
234234 set state [$cnd getAttribute state]
235235 if {$state eq " " } {set state " CheckNodalConditionState" }
236236 }
237- set node " <condition n='$n ' pn='$pn ' ov='$etype ' ovm='' icon='shells16' help='$help ' state='\[ $state \] ' update_proc='\[ OkNewCondition\] ' check='$check '>"
237+ set allow_group_creation " "
238+ if {[$cnd getAttribute Groups] ne " " } {
239+ set allow_group_creation " allow_group_creation='0' groups_list='\[ [ $cnd getAttribute Groups] \] '"
240+ }
241+ set node " <condition n='$n ' pn='$pn ' ov='$etype ' ovm='' icon='shells16' help='$help ' state='\[ $state \] ' update_proc='\[ OkNewCondition\] ' check='$check ' $allow_group_creation >"
238242 set symbol_data [$cnd getSymbol]
239243 if { [llength $symbol_data ] } {
240244 set txt " <symbol"
You can’t perform that action at this time.
0 commit comments