Ensure mvs-texturing respects max_concurrency flag (#1913)

pull/1915/head
Stephen Mather 2025-08-19 14:11:29 -04:00 zatwierdzone przez GitHub
rodzic b8e9ee77a4
commit 5d4862e515
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -102,6 +102,7 @@ class ODMMvsTexStage(types.ODM_Stage):
'keepUnseenFaces': keepUnseenFaces,
'toneMapping': 'none',
'nadirMode': nadir,
'numThreads': '--num_threads=%s' % args.max_concurrency,
'maxTextureSize': '--max_texture_size=%s' % max_texture_size,
'nvm_file': r['nvm_file'],
'intermediate': '--no_intermediate_results' if (r['labeling_file'] or not reconstruction.multi_camera) else '',
@ -124,6 +125,7 @@ class ODMMvsTexStage(types.ODM_Stage):
'{keepUnseenFaces} '
'{nadirMode} '
'{labelingFile} '
'{numThreads} '
'{maxTextureSize} '.format(**kwargs))
if r['primary'] and (not r['nadir'] or args.skip_3dmodel):