Example #1
0
        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);
        }
Example #2
0
 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;
 }