mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-05-29 17:45:45 +08:00
Merge branch 'CURA-5548_fix_sync_button_for_downloaded_materials'
This commit is contained in:
commit
588991660e
@ -378,9 +378,8 @@ class MaterialManager(QObject):
|
|||||||
# Look at the guid to material dictionary
|
# Look at the guid to material dictionary
|
||||||
root_material_id = None
|
root_material_id = None
|
||||||
for material_group in self._guid_material_groups_map[material_guid]:
|
for material_group in self._guid_material_groups_map[material_guid]:
|
||||||
if material_group.is_read_only:
|
root_material_id = material_group.root_material_node.metadata["id"]
|
||||||
root_material_id = material_group.root_material_node.metadata["id"]
|
break
|
||||||
break
|
|
||||||
|
|
||||||
if not root_material_id:
|
if not root_material_id:
|
||||||
Logger.log("i", "Cannot find materials with guid [%s] ", material_guid)
|
Logger.log("i", "Cannot find materials with guid [%s] ", material_guid)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user