mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 16:57:51 -06:00
Remove cache of material manager
It doesn't make the code much simpler because the cache is also not a local variable. Contributes to issue CURA-6679.
This commit is contained in:
parent
33739ea7a8
commit
be4e754984
4 changed files with 8 additions and 11 deletions
|
@ -599,7 +599,7 @@ class MachineManager(QObject):
|
|||
def activeStack(self) -> Optional["ExtruderStack"]:
|
||||
return self._active_container_stack
|
||||
|
||||
@pyqtProperty(str, notify=activeMaterialChanged)
|
||||
@pyqtProperty(str, notify = activeMaterialChanged)
|
||||
def activeMaterialId(self) -> str:
|
||||
if self._active_container_stack:
|
||||
material = self._active_container_stack.material
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue