mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Remove deprecated currentExtruderPositions
CURA-6858
This commit is contained in:
parent
c62ff262ed
commit
227b76d6f0
3 changed files with 9 additions and 12 deletions
|
|
@ -51,6 +51,10 @@ class ExtruderStack(CuraContainerStack):
|
|||
def getNextStack(self) -> Optional["GlobalStack"]:
|
||||
return super().getNextStack()
|
||||
|
||||
@pyqtProperty(int, constant = True)
|
||||
def position(self) -> int:
|
||||
return int(self.getMetaDataEntry("position"))
|
||||
|
||||
def setEnabled(self, enabled: bool) -> None:
|
||||
if self.getMetaDataEntry("enabled", True) == enabled: # No change.
|
||||
return # Don't emit a signal then.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue