kopia lustrzana https://github.com/OpenDroneMap/ODM
commit
ece4e7487c
|
@ -284,15 +284,16 @@ def get_submodel_argv(project_name = None, submodels_path = None, submodel_name
|
|||
|
||||
if i == 1 and project_name and submodel_name and arg == project_name:
|
||||
i += 1
|
||||
continue
|
||||
elif i == len(argv) - 1:
|
||||
# Project name?
|
||||
if project_name and submodel_name and arg == project_name:
|
||||
result.append(submodel_name)
|
||||
found_args['project_name'] = True
|
||||
elif arg.startswith("--"):
|
||||
result.append(arg)
|
||||
i += 1
|
||||
elif arg == '--project-path':
|
||||
i += 1
|
||||
continue
|
||||
|
||||
if arg == '--project-path':
|
||||
if submodels_path:
|
||||
result.append(arg)
|
||||
result.append(submodels_path)
|
||||
|
|
Ładowanie…
Reference in New Issue