Crash when creating a variable from an Object Model array
-
Hi all,
I'm getting software crashes when I try to set variables from certain Object Model items:echo state.restorePoints[0].coords --> OK var a = state.restorePoints[0].coords --> OK echo state.restorePoints[1].coords --> OK var b = state.restorePoints[1].coords --> KO var c = state.restorePoints[1].toolNumber --> OK
it crashes also with
var z = tools[1].extruders
.
It seems like the problem is when copying the array field from the second element of an array of objects.
I'm currently using RRF 3.5.2, but I tried also 3.5.0 and the issue is the same.Can you replicate the issue or am I missing something?
Thanks
-
@leone thanks, I can replicate that. I've created https://github.com/Duet3D/RepRapFirmware/issues/1029.
-
@dc42 thanks!