Exemplo n.º 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);
        }
Exemplo n.º 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;
 }