Fix T55007: Support fluid simulation cache files
This also adds support for entire directory paths to be assets, in addition to globs and numbered file sequences.
This commit is contained in:
@@ -50,7 +50,8 @@ def expand_sequence(path: pathlib.Path) -> typing.Iterator[pathlib.Path]:
|
||||
raise DoesNotExist(path)
|
||||
|
||||
if path.is_dir():
|
||||
raise TypeError('path is a directory: %s' % path)
|
||||
yield path
|
||||
return
|
||||
|
||||
log.debug('expanding file sequence %s', path)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user