Use initNode() for convenient, fast, effective property initialization.
This commit is contained in:
parent
f181fd1040
commit
9130605ca7
1 changed files with 3 additions and 1 deletions
|
@ -31,9 +31,11 @@
|
|||
setprop("/sim/failure-manager/global-mcbf", m);
|
||||
};
|
||||
|
||||
props.globals.initNode("/sim/failure-manager/global-mtbf", 0);
|
||||
props.globals.initNode("/sim/failure-manager/global-mcbf", 0);
|
||||
|
||||
set_mtbf(getprop("/sim/failure-manager/global-mtbf"));
|
||||
set_mcbf(getprop("/sim/failure-manager/global-mcbf"));
|
||||
|
||||
]]>
|
||||
</open>
|
||||
</nasal>
|
||||
|
|
Loading…
Add table
Reference in a new issue