mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
Consistent naming, some bug fixes
This commit is contained in:
parent
ddd282eef3
commit
1aa70748af
6 changed files with 70 additions and 132 deletions
|
@ -13,7 +13,7 @@ from .Models.ClusterMaterial import ClusterMaterial
|
|||
from .Models.LocalMaterial import LocalMaterial
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from .Network.LocalClusterOutputDevice import LocalClusterOutputDevice
|
||||
from .Network.NetworkOutputDevice import NetworkOutputDevice
|
||||
|
||||
|
||||
## Asynchronous job to send material profiles to the printer.
|
||||
|
@ -21,9 +21,9 @@ if TYPE_CHECKING:
|
|||
# This way it won't freeze up the interface while sending those materials.
|
||||
class SendMaterialJob(Job):
|
||||
|
||||
def __init__(self, device: "LocalClusterOutputDevice") -> None:
|
||||
def __init__(self, device: "NetworkOutputDevice") -> None:
|
||||
super().__init__()
|
||||
self.device = device # type: LocalClusterOutputDevice
|
||||
self.device = device # type: NetworkOutputDevice
|
||||
|
||||
## Send the request to the printer and register a callback
|
||||
def run(self) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue