Change order of multispectral preset

pull/793/head
Piero Toffanin 2020-01-21 17:41:17 -05:00
rodzic be4851713d
commit f56451234b
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -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}]})