mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-01-23 19:38:05 +01:00
- [Blur] Fix error when node has no inputs.
This commit is contained in:
parent
857647edbc
commit
64233526f7
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue