diff --git a/datafiles/data/Nodes/Internal.zip b/datafiles/data/Nodes/Internal.zip index 5cb0d63a8..6b09708d5 100644 Binary files a/datafiles/data/Nodes/Internal.zip and b/datafiles/data/Nodes/Internal.zip differ diff --git a/scripts/node_vector2/node_vector2.gml b/scripts/node_vector2/node_vector2.gml index 91a825029..ddcca29b6 100644 --- a/scripts/node_vector2/node_vector2.gml +++ b/scripts/node_vector2/node_vector2.gml @@ -179,12 +179,11 @@ function Node_Vector2(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) c inputs[ 9].setVisible(gz_style == 2, gz_style == 2); inputs[10].setVisible(gz_style != 0); - var vec = _outData[0]; - vec[0] = _int? round(_x) : _x; - vec[1] = _int? round(_y) : _y; + _outData[0][0] = _int? round(_x) : _x; + _outData[0][1] = _int? round(_y) : _y; - _outData[1] = vec[0]; - _outData[2] = vec[1]; + _outData[1] = _outData[0][0]; + _outData[2] = _outData[0][1]; return _outData; } diff --git a/scripts/node_vector3/node_vector3.gml b/scripts/node_vector3/node_vector3.gml index 12a724075..5c8f01fcf 100644 --- a/scripts/node_vector3/node_vector3.gml +++ b/scripts/node_vector3/node_vector3.gml @@ -42,14 +42,13 @@ function Node_Vector3(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) c var _z = _data[2]; var _int = _data[3]; - var vec = _outData[0]; - vec[0] = _int? round(_x) : _x; - vec[1] = _int? round(_y) : _y; - vec[2] = _int? round(_z) : _z; + _outData[0][0] = _int? round(_x) : _x; + _outData[0][1] = _int? round(_y) : _y; + _outData[0][2] = _int? round(_z) : _z; - _outData[1] = vec[0]; - _outData[2] = vec[1]; - _outData[3] = vec[2]; + _outData[1] = _outData[0][0]; + _outData[2] = _outData[0][1]; + _outData[3] = _outData[0][2]; return _outData; } diff --git a/scripts/node_vector4/node_vector4.gml b/scripts/node_vector4/node_vector4.gml index 3be54b587..689a2506c 100644 --- a/scripts/node_vector4/node_vector4.gml +++ b/scripts/node_vector4/node_vector4.gml @@ -48,16 +48,15 @@ function Node_Vector4(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) c var _w = _data[3]; var _int = _data[4]; - var vec = _outData[0]; - vec[0] = _int? round(_x) : _x; - vec[1] = _int? round(_y) : _y; - vec[2] = _int? round(_z) : _z; - vec[3] = _int? round(_w) : _w; + _outData[0][0] = _int? round(_x) : _x; + _outData[0][1] = _int? round(_y) : _y; + _outData[0][2] = _int? round(_z) : _z; + _outData[0][3] = _int? round(_w) : _w; - _outData[1] = vec[0]; - _outData[2] = vec[1]; - _outData[3] = vec[2]; - _outData[4] = vec[3]; + _outData[1] = _outData[0][0]; + _outData[2] = _outData[0][1]; + _outData[3] = _outData[0][2]; + _outData[4] = _outData[0][3]; return _outData; }