max randomized seed set to 4294967294

This commit is contained in:
FizzleDorf 2023-04-04 13:39:56 -04:00
parent 9c39a4188d
commit 08c9359cbe

View File

@ -30,7 +30,7 @@ export function addValueControlWidget(node, targetWidget, defaultValue = "random
case ("seed"): case ("seed"):
case ("noise_seed"): case ("noise_seed"):
console.log("noise_seed/seed"); console.log("noise_seed/seed");
max = 1125899906842624; // limit max to something that javascript can handle max = 4294967294; // limit max to something that javascript can handle
range = Math.max(min, max); range = Math.max(min, max);
break; break;
case ("cfg"): case ("cfg"):