mirror of
https://github.com/overte-org/overte.git
synced 2025-08-05 23:09:35 +02:00
Fix dynamic hue not cycling through all the 360 hue values when drawing
the line due to the change in the max size of the line.
This commit is contained in:
parent
4f5bfcbc2b
commit
2835130515
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@
|
|||
var isAnyDynamicEffectEnabled = false;
|
||||
if ("dynamicHue" in _dynamicEffects && _dynamicEffects.dynamicHue) {
|
||||
isAnyDynamicEffectEnabled = true;
|
||||
var hueIncrement = 359.0 / 70.0;
|
||||
var hueIncrement = 359.0 / MAX_POINTS_PER_LINE;
|
||||
_dynamicColor.hue = calculateValueInRange(_dynamicColor.hue, 0, 359, hueIncrement);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue