You have to pass a callback function... def my_func(ext): return (ext == ".txt") self.path_menu(..., filter_ext=my_func)
On Tue, Dec 4, 2012 at 6:07 AM, Fabio Russo <[email protected]> wrote: > Hello to all, > I wanted to ask how to filter the extensions with path_menu. > Thank you, > ruesp83 > _______________________________________________ > Bf-committers mailing list > [email protected] > http://lists.blender.org/mailman/listinfo/bf-committers -- - Campbell _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
