mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Added preference to show UFP saving dialog
Changes saving to .ucp to .3mf
This commit is contained in:
parent
80d7536763
commit
b641741e49
8 changed files with 48 additions and 9 deletions
|
@ -113,7 +113,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||
def __init__(self) -> None:
|
||||
super().__init__()
|
||||
|
||||
self._supported_extensions = [".3mf", ".ucp"]
|
||||
self._supported_extensions = [".3mf"]
|
||||
self._dialog = WorkspaceDialog()
|
||||
self._3mf_mesh_reader = None
|
||||
self._container_registry = ContainerRegistry.getInstance()
|
||||
|
@ -236,7 +236,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||
|
||||
# Check whether the file is a UCP, which changes some import options
|
||||
#FIXME Instead of this, we should just check for the presence of the user-settings file, whatever the extension
|
||||
is_ucp = file_name.endswith('.ucp')
|
||||
is_ucp = file_name.endswith('.3mf')
|
||||
|
||||
#
|
||||
# Read definition containers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue