mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 20:55:54 +08:00
Renamed packageContainerIds to getPackageContainerIds. CURA-5389
This commit is contained in:
parent
aa0c7d5f0a
commit
513bd4f84a
@ -25,7 +25,7 @@ class CuraPackageManager(PackageManager):
|
|||||||
# It loops through all the package contents and see if some of the ids are used.
|
# It loops through all the package contents and see if some of the ids are used.
|
||||||
# The list consists of 3-tuples: (global_stack, extruder_nr, container_id)
|
# The list consists of 3-tuples: (global_stack, extruder_nr, container_id)
|
||||||
def packageUsed(self, package_id: str):
|
def packageUsed(self, package_id: str):
|
||||||
ids = self.packageContainerIds(package_id)
|
ids = self.getPackageContainerIds(package_id)
|
||||||
container_stacks = ContainerRegistry.getInstance().findContainerStacks()
|
container_stacks = ContainerRegistry.getInstance().findContainerStacks()
|
||||||
global_stacks = [container_stack for container_stack in container_stacks if isinstance(container_stack, GlobalStack)]
|
global_stacks = [container_stack for container_stack in container_stacks if isinstance(container_stack, GlobalStack)]
|
||||||
machine_with_materials = []
|
machine_with_materials = []
|
||||||
|
Loading…
x
Reference in New Issue
Block a user