Before it would be impossible to switch to a valid option once a variant/material/quality had gone to an "empty" state. Now at least it is recoverable.
Changed to "is None" insted of "== None" to test if numpy.array was initialized
Added extruder to PathSegment in Cura.proto
Changed index_pattern to class variable in Layer.py
When starting Cura, no nozzle, material or quality would seem to be selected. This commit makes sure _active_container_stack gets properly initialised.
I'll hijack CURA-1844 for this.
Because it should never show up in the normal global/extruder settings tab, people might forget about this setting. It's one of the reasons per-object settings is awesome ^^.
Two big things had to happen for this: The resource types of quality and machine stack have to be defined before the initialisation of the version upgrade manager, since the version upgrade manager needs to know those storage locations at initialisation. But the storage location is still prefaced with '.config/UM' at this point, so instead we pass on the resource type (but the resource type still has to be defined before the init).
The other big change is that we now have to name the configuration type 'quality' and 'machine_stack' instead of 'instance_container' and 'container_stack' to coincide with the resource type. This allows us to be more consistent in later plug-ins when we also have to upgrade other instance container types.
Contributes to issue CURA-844.
* 'master' of github.com:ultimaker/Cura: (38 commits)
Fixed profile file case-sensitivity.
Fix UMO Checkup button size
Remove debug statement and commented-out code CURA-1385
Show "ready" state when a printer is connected but jobstate is not yet set
Added deepcopy function
Made exception handling of slice info plugin way more robust
Restart timer after slicing is performed when not enabled.
Update GUID for PLA to match the GUID in the official repository
Set default extruder index to -1 (so global is default)
Ensure that the display matches with the backend active extruder data
Update UM2 Extended build volume height to value published in marketing materials
Fixed firmware upgrade for um2+
Capitalise setting label
CHeckup action now correctly resets every time you start it
Remove unused name/id when importing a profile from a gcode file
Just a little typo
BQ Hephestos2: Heat up nozzle while leveling
Saving g-code no longer crashes
Removed update firmware from extensions; This is now handled by machine actions
Changing active extruder no longer trigger re-slice
...
We should start replacing the other ways of import/export with this
since this uses the containerregistry provided contaienr types instead
of needing a different plugin type.
Contributes to CURA-341