public bool update(ParameterList pl, SunflowAPI api) { string file = pl.getstring("filename", null); if (file != null) { filename = api.resolveIncludeFilename(file); } smoothNormals = pl.getbool("smooth_normals", smoothNormals); return(filename != null); }
public bool update(ParameterList pl, SunflowAPI api) { string file = pl.getstring("filename", null); if (file != null) filename = api.resolveIncludeFilename(file); smoothNormals = pl.getbool("smooth_normals", smoothNormals); return filename != null; }