Fix showing "__pycache__" in templates menu
This commit is contained in:
@@ -240,6 +240,7 @@ class TEXT_MT_templates_py(Menu):
|
||||
bpy.utils.script_paths("templates_py"),
|
||||
"text.open",
|
||||
props_default={"internal": True},
|
||||
filter_ext=lambda ext: (ext.lower() == ".py")
|
||||
)
|
||||
|
||||
|
||||
@@ -251,6 +252,7 @@ class TEXT_MT_templates_osl(Menu):
|
||||
bpy.utils.script_paths("templates_osl"),
|
||||
"text.open",
|
||||
props_default={"internal": True},
|
||||
filter_ext=lambda ext: (ext.lower() == ".osl")
|
||||
)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user