The infinite loop is caused at line 922 (nigelObj.m) when obj.updateParams(obj.Type) is called. After this, it enters a conditional statement at line 4026 (nigelObj.m) where it tries to print to the console obj.Name. This calls again obj.updateParams(obj.Type) inside the get.Name(obj) function (line 922, nigelObj.m)
'Direct' loading during updateParams is failing
While trying to updateParams directly from the defaults file, the methods fails at line 4050. This happens when the parameters are not already loaded.
Bug Report
Infinite loop when trying to init a new Tank
The infinite loop is caused at line 922 (nigelObj.m) when
obj.updateParams(obj.Type)
is called. After this, it enters a conditional statement at line 4026 (nigelObj.m) where it tries to print to the console obj.Name. This calls againobj.updateParams(obj.Type)
inside theget.Name(obj)
function (line 922, nigelObj.m)'Direct' loading during updateParams is failing
While trying to updateParams directly from the defaults file, the methods fails at line 4050. This happens when the parameters are not already loaded.
Machine