mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-10 12:34:06 +01:00
- [Repeat] Fix repeat rotation wrap around too fast.
This commit is contained in:
parent
a7fcefa5ef
commit
2f6e7d2abb
@ -254,7 +254,7 @@ function Node_Repeat(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) co
|
||||
|
||||
scax = eval_curve_x(_msca, i / (_amo - 1)) * _rsca;
|
||||
scay = scax;
|
||||
rot = _rrot[0] + (_rrot[1] - _rrot[0]) * i / (_amo - 1);
|
||||
rot = _rrot[0] + (_rrot[1] - _rrot[0]) * i / _amo;
|
||||
|
||||
var _an_dist = abs(i - _an_mid * (_amo - 1));
|
||||
var _inf = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user