mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Merge branch 'master' of github.com:ultimaker/Cura
* 'master' of github.com:ultimaker/Cura: Determine readonly state from location in filesystem instead of a metadata property Change focus upon extruder switch Fix extruder number attached to extruders Fix duplicating the first item on the Profiles page Fix spelling Document setActiveExtruderIndex Inheritance button now works if instance containers contain functions JSON cleanup: removed settable_per_x when they were obvious and default (CURA-1560) feat: use settable_per_[mesh|extruder|meshgroup|globally] instead of global_only (CURA-1560) JSON feat: replaced global_only with four properties settable_per_[mesh|extruder|meshgroup] and settable_globally for fdmextruder settings (CURA-1558) JSON feat: replaced global_only with four properties settable_per_[mesh|extruder|meshgroup] and settable_globally (CURA-1558)
This commit is contained in:
commit
627d5e3c0d
51 changed files with 618 additions and 327 deletions
|
|
@ -58,6 +58,9 @@ class ExtruderManager(QObject):
|
|||
cls.__instance = ExtruderManager()
|
||||
return cls.__instance
|
||||
|
||||
## Changes the active extruder by index.
|
||||
#
|
||||
# \param index The index of the new active extruder.
|
||||
@pyqtSlot(int)
|
||||
def setActiveExtruderIndex(self, index):
|
||||
self._active_extruder_index = index
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue