mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 06:57:28 -06:00
Fix protected variable access
This commit is contained in:
parent
6a14e39610
commit
1e467b66c0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue