Only pack textures where needed

pull/1582/head
Piero Toffanin 2023-01-11 15:57:59 -05:00
rodzic 2b2875bec6
commit 9f17e8451a
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -131,7 +131,7 @@ class ODMMvsTexStage(types.ODM_Stage):
'{maxTextureSize} '.format(**kwargs))
# Single material?
if r['primary'] and args.texturing_single_material:
if args.texturing_single_material and r['primary'] and (not r['nadir'] or args.skip_3dmodel):
log.ODM_INFO("Packing to single material")
packed_dir = os.path.join(r['out_dir'], 'packed')