add missing logic

pull/1580/head
Stephen Vincent Mather 2023-01-10 00:04:43 -05:00
rodzic e997e13e75
commit 999434e161
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -95,12 +95,12 @@ class ODMOpenMVSStage(types.ODM_Stage):
if masks:
extra_config.append("--ignore-mask-label 0")
sharp = args.pc_geometric
sharp = args.pc_skip_geometric
with open(densify_ini_file, 'w+') as f:
f.write("Optimize = 7\n")
f.write("Optimize = %s\n" % (3 if sharp else 7))
def run_densify():
system.run('"%s" "%s" %s' % (context.omvs_densify_path,
.run('"%s" "%s" %s' % (context.omvs_densify_path,
openmvs_scene_file,
' '.join(config + gpu_config + extra_config)))
try: