Added preference to show UFP saving dialog

Changes saving to .ucp to .3mf
This commit is contained in:
saumya.jain 2024-02-16 14:11:07 +01:00
parent 80d7536763
commit b641741e49
8 changed files with 48 additions and 9 deletions

View file

@ -39,7 +39,7 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter):
is_ucp = False
if hasattr(self._stream, 'name'):
# This only works with local file, but we don't want remote UCP files yet
is_ucp = self._stream.name.endswith('.ucp')
is_ucp = self._stream.name.endswith('.3mf')
if is_ucp:
self._config_dialog = UCPDialog()