Merge pull request #3719 from simonebarbieri/feature/maya-unreal-layout_existing_scene

Unreal: Layout Loader from Maya for Existing Scenes
This commit is contained in:
Ondřej Samohel 2022-10-13 12:35:56 +02:00 committed by GitHub
commit de7a6dfcc7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 451 additions and 13 deletions

View file

@ -265,6 +265,10 @@ def get_last_workfile_with_version(
if not match:
continue
if not match.groups():
output_filenames.append(filename)
continue
file_version = int(match.group(1))
if version is None or file_version > version:
output_filenames[:] = []