diff --git a/VQI_PathwayEditor.js b/VQI_PathwayEditor.js index ecb3086..2d5be97 100755 --- a/VQI_PathwayEditor.js +++ b/VQI_PathwayEditor.js @@ -2064,7 +2064,7 @@ var VQI_PathwayEditor = function (parent) { }); saveState(); - if(typeof(self.sprayColor) != "undefined") + if(typeof(self.sprayData) != "undefined") sprayColor(self.sprayData); }, // initial viewport state: