kopia lustrzana https://github.com/OpenDroneMap/WebODM
Change order of multispectral preset
rodzic
be4851713d
commit
f56451234b
|
@ -96,6 +96,10 @@ def boot():
|
|||
|
||||
def add_default_presets():
|
||||
try:
|
||||
Preset.objects.update_or_create(name='Multispectral', system=True,
|
||||
defaults={'options': [{'name': 'texturing-skip-global-seam-leveling', 'value': True},
|
||||
{'name': 'texturing-data-term', 'value': 'area'},
|
||||
]})
|
||||
Preset.objects.update_or_create(name='Volume Analysis', system=True,
|
||||
defaults={'options': [{'name': 'dsm', 'value': True},
|
||||
{'name': 'dem-resolution', 'value': '2'},
|
||||
|
@ -128,10 +132,6 @@ def add_default_presets():
|
|||
{'name': 'dem-resolution', 'value': "2.0"},
|
||||
{'name': 'orthophoto-resolution', 'value': "2.0"},
|
||||
]})
|
||||
Preset.objects.update_or_create(name='Multispectral', system=True,
|
||||
defaults={'options': [{'name': 'texturing-skip-global-seam-leveling', 'value': True},
|
||||
{'name': 'texturing-data-term', 'value': 'area'},
|
||||
]})
|
||||
Preset.objects.update_or_create(name='Default', system=True,
|
||||
defaults={'options': [{'name': 'dsm', 'value': True}]})
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue