mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-09-14 03:13:16 +08:00
Fix protected variable access
This commit is contained in:
parent
6a14e39610
commit
1e467b66c0
@ -59,7 +59,7 @@ class XmlMaterialProfile(InstanceContainer):
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Get the MaterialGroup
|
# Get the MaterialGroup
|
||||||
material_manager = CuraApplication.getInstance()._material_manager
|
material_manager = CuraApplication.getInstance().getMaterialManager()
|
||||||
root_material_id = self.getMetaDataEntry("base_file") #if basefile is self.getId, this is a basefile.
|
root_material_id = self.getMetaDataEntry("base_file") #if basefile is self.getId, this is a basefile.
|
||||||
material_group = material_manager.getMaterialGroup(root_material_id)
|
material_group = material_manager.getMaterialGroup(root_material_id)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user