mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-02-04 09:15:15 +01:00
- [Splice sprite sheet] Improve processing speed, won't draw preview boundary if output has more than 256 sprites.
This commit is contained in:
parent
9c46e5bf11
commit
cf89efbeac
1 changed files with 2 additions and 0 deletions
|
@ -287,6 +287,8 @@ function Node_Image_Sheet(_x, _y, _group = noone) : Node(_x, _y, _group) constru
|
|||
|
||||
static spliceSprite = function() { #region
|
||||
var _inSurf = getInputData(0);
|
||||
if(!is_surface(_inSurf)) return;
|
||||
|
||||
spliceSurf = _inSurf;
|
||||
|
||||
var _outSurf = outputs[| 0].getValue();
|
||||
|
|
Loading…
Reference in a new issue