mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 17:27:51 -06:00
Fix quality profile upgrade for UM2 family
This commit is contained in:
parent
aa7b456594
commit
8ef918829f
1 changed files with 2 additions and 2 deletions
|
@ -128,8 +128,8 @@ class VersionUpgrade27to30(VersionUpgrade):
|
||||||
|
|
||||||
# set machine definition to "ultimaker2" for the custom quality profiles that can be for the ultimaker 2 family
|
# set machine definition to "ultimaker2" for the custom quality profiles that can be for the ultimaker 2 family
|
||||||
file_base_name = os.path.basename(filename)
|
file_base_name = os.path.basename(filename)
|
||||||
is_ultimaker2_family = not any(file_base_name.startswith(ep) for ep in exclude_prefix_list)
|
is_ultimaker2_family = False
|
||||||
if not is_ultimaker2_family:
|
if not any(file_base_name.startswith(ep) for ep in exclude_prefix_list):
|
||||||
is_ultimaker2_family = any(file_base_name.startswith(ep) for ep in ultimaker2_prefix_list)
|
is_ultimaker2_family = any(file_base_name.startswith(ep) for ep in ultimaker2_prefix_list)
|
||||||
|
|
||||||
# ultimaker2 family quality profiles used to set as "fdmprinter" profiles
|
# ultimaker2 family quality profiles used to set as "fdmprinter" profiles
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue