- [Blur] Fix error when node has no inputs.

This commit is contained in:
Tanasart 2024-07-06 15:37:29 +07:00
parent 857647edbc
commit 64233526f7

View file

@ -65,6 +65,7 @@ function Node_Blur(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) cons
inputs[| 4].setVisible(_isovr);
if(!is_surface(_surf)) return _outSurf;
var format = surface_get_format(_surf);
var _sw = surface_get_width_safe(_surf);
var _sh = surface_get_height_safe(_surf);