mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Merge branch 'master' into blender2.8
This commit is contained in:
commit
d2d0b4fcd7
3 changed files with 7 additions and 6 deletions
|
|
@ -51,10 +51,11 @@ def print_message(message, type=None, status=''):
|
|||
|
||||
|
||||
def blend_list(dirpath):
|
||||
for filename in os.listdir(dirpath):
|
||||
if filename.lower().endswith(".blend"):
|
||||
filepath = os.path.join(dirpath, filename)
|
||||
yield filepath
|
||||
for root, dirs, files in os.walk(dirpath):
|
||||
for filename in files:
|
||||
if filename.lower().endswith(".blend"):
|
||||
filepath = os.path.join(root, filename)
|
||||
yield filepath
|
||||
|
||||
|
||||
def test_get_name(filepath):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue