String t;
while (!(t = s.next()).equals("endglpreview")) {
if (TextureEditor.GL_ENABLED) {
AbstractParam param;
if ((param = glcanvas.params.getParamByName(t.replace('_', ' '))) != null) {
param.load(s);
} else {
Logger.logWarning(null, " loading of param " + t + " failed.");
}
}
}