fxied bug in shader node

This commit is contained in:
tamat
2019-05-23 18:35:59 +02:00
parent 3dcf1ad38a
commit 50d3fb77bd
2 changed files with 16 additions and 16 deletions

View File

@@ -773,8 +773,8 @@
NodeScript.prototype.compileCode = function(code) {
this._func = null;
if (code.length > 100) {
console.warn("Script too long, max 100 chars");
if (code.length > 256) {
console.warn("Script too long, max 256 chars");
} else {
var code_low = code.toLowerCase();
var forbidden_words = [