cosmetic fix

This commit is contained in:
Kayla Man 2024-04-19 19:43:40 +08:00
parent dd11cf95ca
commit 369321b18c

View file

@ -121,10 +121,12 @@ class SubstanceProjectConfigurationWindow(QtWidgets.QDialog):
template = get_template_by_name(template_name, templates)
template = copy.deepcopy(template) # do not edit the original
template["import_cameras"] = self.widgets["import_cameras"].isChecked()
template["preserve_strokes"] = self.widgets["preserve_strokes"].isChecked()
template["preserve_strokes"] = (
self.widgets["preserve_strokes"].isChecked()
)
for key in ["normal_map_format",
"project_workflow",
"tangent_space_mode"]:
"project_workflow",
"tangent_space_mode"]:
template[key] = _convert(template[key])
return template