From a3e6108aa15dadb8d245900a166f3f88648df507 Mon Sep 17 00:00:00 2001 From: Philosopher Date: Sun, 19 Jan 2014 15:52:38 -0600 Subject: [PATCH] Fix #1310 - typo in material.nas A small processing mistake on my part during commit d8b23d94. --- Nasal/material.nas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nasal/material.nas b/Nasal/material.nas index d4ad8d631..379f28403 100644 --- a/Nasal/material.nas +++ b/Nasal/material.nas @@ -51,7 +51,7 @@ var dialog = nil; var colorgroup = func(parent, name, base) { - var undef = func { props.globals.getNode(base ~ name ~ "/" ~ parent) == nil }; + var undef = func(color) { props.globals.getNode(base ~ name ~ "/" ~ color) == nil }; if (undef("red") and undef("green") and undef("blue")) { return 0;